17
All checks were successful
Pull-Request Vibe Check / ci-test (pull_request) Successful in 7s
Test python action / test (push) Successful in 31s

This commit is contained in:
2026-08-10 23:51:06 +02:00
parent c1bef19b27
commit 324cd5473f
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- name: Do Something With Errors
run: |
echo "::error file=./workspace/malobeo/gatekeeper/app/services/scanner.py,line=133::Problem" | prbot
echo "::error title=ruff (B904),file=app/controllers/cardManager.py,line=46,col=9,endLine=46,endColumn=83::app/controllers/cardManager.py:46:9: B904 Within an except clause, raise exceptions with raise ... from err or raise ... from None to distinguish them from errors in exception handling" | prbot
- name: Post PR Feedback
if: always()

View File

@@ -43,7 +43,7 @@ def add_card(
is None
)
except AssertionError:
raise HTTPException(status.HTTP_409_CONFLICT, detail="Name already used!")
raise HTTPException(status.HTTP_409_CONFLICT, detail="Name already used?")
try:
assert (
db.exec(