IOS-1784 Log full file URL on error. IOS-1784
authorDirk Zimmermann <dz@pep.security>
Thu, 05 Sep 2019 13:43:24 +0200
branchIOS-1784
changeset 12206460d74c4201
parent 1219 2dc45a3e912b
child 1221 54e304e33227
IOS-1784 Log full file URL on error.
pEpObjCTests/TestUtils/PEPTestUtils.m
     1.1 --- a/pEpObjCTests/TestUtils/PEPTestUtils.m	Thu Sep 05 13:43:24 2019 +0200
     1.2 +++ b/pEpObjCTests/TestUtils/PEPTestUtils.m	Thu Sep 05 13:43:24 2019 +0200
     1.3 @@ -129,7 +129,7 @@
     1.4          NSURL *fileUrl = [NSURL fileURLWithPath:path isDirectory:NO relativeToURL:homeUrl];
     1.5          NSError *error = nil;
     1.6          if (![fileManager removeItemAtURL:fileUrl error:&error]) {
     1.7 -            NSLog(@"Error deleting '%@': %@", path, [error localizedDescription]);
     1.8 +            NSLog(@"Error deleting '%@': %@", fileUrl, [error localizedDescription]);
     1.9          }
    1.10      }
    1.11  }