Improve error message
authorKarl O. Pinc <kop@karlpinc.com>
Fri, 22 Jan 2021 05:22:19 +0000 (23:22 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Fri, 22 Jan 2021 05:22:19 +0000 (23:22 -0600)
src/pgwui_common/exceptions.py

index 80152e781243c31ec80c947f2bb1c957f991b47b..31c3f79a4d008e3ce380fd187b6127ded6f43e34 100644 (file)
@@ -121,6 +121,7 @@ class BadAssetSourceError(BadPageSourceError):
 class NotBooleanSettingError(Error):
     def __init__(self, key, value):
         super().__init__(
+            f'Bad value ({value}) for the {key} setting',
             'The "{}" PGWUI setting must be "True" or "False"'
             .format(key))