17
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user