Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files580 unmodified lines581582583584585586587588580 unmodified linestry:return kotak_neo_manager.authenticate_with_totp(payload.totp)except KotakNeoConfigError as exc:raise HTTPException(status_code=503, detail=str(exc)) from excexcept KotakNeoError as exc:raise HTTPException(status_code=400, detail=str(exc)) from exc580 unmodified lines581582583584585586587588589590591592580 unmodified linestry:return kotak_neo_manager.authenticate_with_totp(payload.totp)except KotakNeoConfigError as exc:print(f"[AUTH ERROR 503]: {exc}", flush=True)raise HTTPException(status_code=503, detail=str(exc)) from excexcept KotakNeoError as exc:print(f"[AUTH ERROR 400]: {repr(exc)}", flush=True)import tracebacktraceback.print_exc()raise HTTPException(status_code=400, detail=str(exc)) from exc
app.py+4