]> git.ipfire.org Git - pbs.git/commit
web: Make APIError inherit from HTTPError
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Oct 2023 20:43:15 +0000 (20:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Oct 2023 20:43:15 +0000 (20:43 +0000)
commitce7277af9bd6cd363f77680edbf10c596c5bb986
tree3ed2572687ae144df0e384942965cb93c02518cd
parentc27e7f37888e8700aa043129462b4bd209fbf1c4
web: Make APIError inherit from HTTPError

This way, tornado will catch the exception and log something useful

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/web/base.py