blitz_api/app/system
fusion44 cf423f52c1
fix(system): stop native_python impl swallowing errors into None
@logger.catch defaults to reraise=False, so change_password and
get_debug_logs_raw - which raise NotImplementedError - silently
returned None. The service layer's 'except NotImplementedError -> 501'
never fired, yielding '200 null' or a response-model 500 instead.
login likewise turned unexpected errors into a None result.

Drop the pointless decorator from the two methods that only raise, and
let login reraise so failures surface.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 21:44:25 +02:00
..
impl fix(system): stop native_python impl swallowing errors into None 2026-07-03 21:44:25 +02:00
__init__.py refactor: switch to domain driven directory layout 2022-10-03 20:22:00 +02:00
docs.py feat: implement Ruff as a linter; fix given errors 2023-06-25 07:17:00 +02:00
models.py fix(system): stop leaking passwords via change-password endpoint 2026-07-03 21:42:25 +02:00
router.py fix(system): stop leaking passwords via change-password endpoint 2026-07-03 21:42:25 +02:00
service.py feat: replace call_script func with better func 2025-05-06 09:16:46 +02:00