Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 2216644

Browse files
authored
Expand debug logging for transitive rule failure case (#1248)
1 parent 65c6602 commit 2216644

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/santad/SNTCompilerController.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ - (void)createTransitiveRule:(const Message &)esMsg
132132
NSError *error = nil;
133133
SNTFileInfo *fi = [[SNTFileInfo alloc] initWithEndpointSecurityFile:targetFile error:&error];
134134
if (error) {
135-
LOGD(@"Unable to create SNTFileInfo while attempting to create transitive rule. Path: %@",
136-
@(targetFile->path.data));
135+
LOGD(@"Unable to create SNTFileInfo while attempting to create transitive rule. Event: %d | Path: %@ | Error: %@",
136+
(int)esMsg->event_type, @(targetFile->path.data), error);
137137
return;
138138
}
139139

0 commit comments

Comments
 (0)