Skip to content

Commit

Permalink
Warn when file in path not found and rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
uerceg committed Mar 19, 2020
1 parent 79f5d30 commit e611f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Adjust/ADJUtil.m
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ + (id)readObject:(NSString *)fileName
}
} else {
// [[ADJAdjustFactory logger] error:@"Failed to read %@ file", appSupportFilePath];
[[ADJAdjustFactory logger] error:@"Failed to read %@ file from \"Application Support/Adjust\" folder", fileName];
[[ADJAdjustFactory logger] warn:@"File %@ not found in \"Application Support/Adjust\" folder", fileName];
}
} @catch (NSException *ex) {
// [[ADJAdjustFactory logger] error:@"Failed to read %@ file (%@)", appSupportFilePath, ex];
Expand Down Expand Up @@ -352,7 +352,7 @@ + (id)readObject:(NSString *)fileName
return documentsObject;
} else {
// [[ADJAdjustFactory logger] error:@"Failed to read %@ file", documentsFilePath];
[[ADJAdjustFactory logger] error:@"Failed to read %@ file from Documents folder", fileName];
[[ADJAdjustFactory logger] warn:@"File %@ not found in Documents folder", fileName];
}
} @catch (NSException *ex) {
// [[ADJAdjustFactory logger] error:@"Failed to read %@ file (%@)", documentsFilePath, ex];
Expand Down

0 comments on commit e611f3a

Please sign in to comment.