We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94cc969 commit 0de0cedCopy full SHA for 0de0ced
python/activator/activator.py
@@ -348,7 +348,7 @@ def next_visit_handler() -> tuple[str, int]:
348
try:
349
expected_visit = parse_next_visit(flask.request)
350
except ValueError as msg:
351
- _log.exception()
+ _log.exception(msg)
352
return f"Bad Request: {msg}", 400
353
process_visit(expected_visit)
354
return "Pipeline executed", 200
@@ -524,7 +524,7 @@ def process_visit(expected_visit: FannedOutVisit):
524
525
526
def invalid_visit(e: InvalidVisitError) -> tuple[str, int]:
527
+ _log.exception("Invalid visit: %s", e)
528
return f"Cannot process visit: {e}.", 422
529
530
0 commit comments