Skip to content

Commit 86d30df

Browse files
committedMar 13, 2021
In SSYLinearFileWriter, eliminated NSLog of non-error error.
1 parent 07a3114 commit 86d30df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎SSYLinearFileWriter.m

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ - (void)writeLine:(NSString*)line {
7272
[[self fileHandle] writeData:data] ;
7373
}
7474
else {
75-
NSLog(@"Internal Error 810-1149 No fileHandle") ;
75+
/* This will happen if the calling app sent a +writeLine: message
76+
but did not send +setToPath: first. Since not sending +setToPath:
77+
may be a legitimate way of muting log entries, we consider this branch
78+
to be expected behavior and do not log an error or anything here. */
7679
}
7780
}
7881

0 commit comments

Comments
 (0)