Skip to content

Commit

Permalink
[ruff] Skip logging subprocess exception as error (#3728)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
Harshg999 authored May 6, 2024
1 parent 8793794 commit 050cf3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/core/src/desktop/management/commands/runruff.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ def handle(self, *args, **options):
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)

0 comments on commit 050cf3b

Please sign in to comment.