(username: str, fp: str)
| 1411 | |
| 1412 | # --------------------------- |
| 1413 | # App / helpers |
| 1414 | # --------------------------- |
| 1415 | |
| 1416 | app = Flask(__name__) |
| 1417 | |
| 1418 | |
| 1419 | @app.errorhandler(Exception) |
| 1420 | def _handle_unexpected_web_error(error): |
| 1421 | """Log full web exceptions to the file and the Termux error monitor.""" |
| 1422 | if isinstance(error, HTTPException): |
| 1423 | return error |
no test coverage detected