projects
/
pgwui_common
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd128b2
)
Improve error message
author
Karl O. Pinc
<kop@karlpinc.com>
Fri, 22 Jan 2021 05:22:19 +0000
(23:22 -0600)
committer
Karl O. Pinc
<kop@karlpinc.com>
Fri, 22 Jan 2021 05:22:19 +0000
(23:22 -0600)
src/pgwui_common/exceptions.py
patch
|
blob
|
history
diff --git
a/src/pgwui_common/exceptions.py
b/src/pgwui_common/exceptions.py
index 80152e781243c31ec80c947f2bb1c957f991b47b..31c3f79a4d008e3ce380fd187b6127ded6f43e34 100644
(file)
--- a/
src/pgwui_common/exceptions.py
+++ b/
src/pgwui_common/exceptions.py
@@
-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))