mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 23:33:14 +08:00
Rename <censored_path> to <user_home>
This commit is contained in:
parent
7c9d7a3aef
commit
62ea766880
@ -41,7 +41,7 @@ class SentryLogger(LogOutput):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _pruneSensitiveData(message):
|
def _pruneSensitiveData(message):
|
||||||
if home_dir in message:
|
if home_dir in message:
|
||||||
message = message.replace(home_dir, "<censored_path>")
|
message = message.replace(home_dir, "<user_home>")
|
||||||
return message
|
return message
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user