summaryrefslogtreecommitdiff
path: root/opendc/util
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/util')
-rw-r--r--opendc/util/rest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/opendc/util/rest.py b/opendc/util/rest.py
index 2f2e1b53..33371e52 100644
--- a/opendc/util/rest.py
+++ b/opendc/util/rest.py
@@ -44,7 +44,8 @@ class Request(object):
module_path = self.path.replace('{', '').replace('}', '').replace('/', '.')
self.module = importlib.import_module(module_base.format(module_path))
- except ImportError:
+ except ImportError as e:
+ print(e)
raise exceptions.UnimplementedEndpointError('Unimplemented endpoint: {}.'.format(self.path))
# Check the method