Explorar el Código

[ruff] Skip logging subprocess exception as error (#3728)

## What changes were proposed in this pull request?

- Raised exception is not always an actual error. Mostly it notifies about the violations.

## How was this patch tested?

- Manually.
Harsh Gupta hace 1 año
padre
commit
050cf3b6ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      desktop/core/src/desktop/management/commands/runruff.py

+ 1 - 1
desktop/core/src/desktop/management/commands/runruff.py

@@ -133,5 +133,5 @@ class Command(BaseCommand):
       if ret.returncode != 0:
         sys.exit(1)
     except subprocess.CalledProcessError as e:
-      LOG.error(f"Error running ruff command: {e}")
+      LOG.debug(f"Ruff command: {e}")
       sys.exit(1)