summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.py b/api.py
index 47596b7..88b6381 100755
--- a/api.py
+++ b/api.py
@@ -146,7 +146,7 @@ class API:
return bottle.HTTPError(400)
except Exception as e:
logging.warning('Caught exception: %s', str(e))
- return bottle.httpError(500)
+ return bottle.HTTPError(500)
class Controller(API):