mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New handle_exception plugin hook, refs #1770
Also refs: - https://github.com/simonw/datasette-sentry/issues/1 - https://github.com/simonw/datasette-show-errors/issues/2
This commit is contained in:
parent
8188f55efc
commit
c09c53f345
10 changed files with 216 additions and 96 deletions
|
|
@ -332,6 +332,7 @@ def test_permissions_debug(app_client):
|
|||
assert checks == [
|
||||
{"action": "permissions-debug", "result": True, "used_default": False},
|
||||
{"action": "view-instance", "result": None, "used_default": True},
|
||||
{"action": "debug-menu", "result": False, "used_default": True},
|
||||
{"action": "permissions-debug", "result": False, "used_default": True},
|
||||
{"action": "view-instance", "result": None, "used_default": True},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue