Commit fff5b73
committed
Set the privacy level of string interpolation errors in os_log to private
If string interpolation results in parsing errors, we create an os_log fault to notify the user about a potential bug. This log message contains the source code with the syntax error, which could be sensitive.
Set the os_log privacy level to `private` to make sure the source code does not get persisted in logs. It will still show up in the Xcode console.1 parent 0d6a210 commit fff5b73
File tree
1 file changed
+1
-1
lines changed- Sources/SwiftSyntaxBuilder
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments