Permission error should be critical

This commit is contained in:
deajan 2024-04-11 09:01:12 +02:00
parent a801925571
commit a396382fb3

View file

@ -397,7 +397,7 @@ class NPBackupRunner:
)
raise PermissionError
except (IndexError, KeyError, PermissionError):
self.write_logs("You don't have sufficient permissions", level="error")
self.write_logs("You don't have sufficient permissions", level="critical")
if self.json_output:
js = {
"result": False,