Bug Fix: Set URL object before attempting to log
This was logging a potentially unassigned variable. Oops. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
ba572f3035
commit
2d0729b2c5
1 changed files with 2 additions and 2 deletions
|
@ -473,11 +473,11 @@ static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_bloc
|
|||
id<SentrySpan> innerTask = nil;
|
||||
NSURL *url = nil;
|
||||
@try {
|
||||
url = obj;
|
||||
|
||||
if(containerTask) {
|
||||
pathTask = [containerTask startChildWithOperation:@"Process path as container" description:[NSString stringWithFormat:@"Checking if file is container: %@", url]];
|
||||
}
|
||||
|
||||
url = obj;
|
||||
[lock lock];
|
||||
if([uniqueURLs containsObject:url]) {
|
||||
[lock unlock];
|
||||
|
|
Loading…
Reference in a new issue