summaryrefslogtreecommitdiffstats
path: root/src/ogRest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogRest.py')
-rw-r--r--src/ogRest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogRest.py b/src/ogRest.py
index 47767b6..c7bdcdb 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -263,7 +263,7 @@ class ogRest():
from src.windows.ogOperations import OgWindowsOperations
self.operations = OgWindowsOperations()
else:
- raise ValueError('Mode not supported.')
+ raise ValueError(f'Ogrest mode \'{self.mode}\'not supported')
def send_internal_server_error(self, client, exc=None):
if isinstance(exc, AssertionError):