Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Set semgrep logging rule severity to ERROR

Mikail Kocaka843987e58f7
diff --git a/.semgrep/security/logging/exception-object-in-logger-extra.yaml b/.semgrep/security/logging/exception-object-in-logger-extra.yaml
index f07f152e40..142c8e147f 100644
--- a/.semgrep/security/logging/exception-object-in-logger-extra.yaml
+++ b/.semgrep/security/logging/exception-object-in-logger-extra.yaml
@@ -18,6 +18,6 @@ rules:
message: >-
Exception objects should not be put inside a logger's `extra` field, it can lead to high memory usage. Instead, use str(exc) to log the message.
languages: [python]
- severity: WARNING
+ severity: ERROR
focus-metavariable: $EXC