- commit
- 259026a956bcfb14a0e45bcb094d16fed7c39b85
- parent
- 52b98d40c5586a5065a9d19137d9ca0d542a7c44
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-08-12 07:24
improve error message
Diffstat
| M | notification_hub.py | 5 | ++++- |
1 files changed, 4 insertions, 1 deletions
diff --git a/notification_hub.py b/notification_hub.py
@@ -138,7 +138,10 @@ def on_name_acquired(conn, name, user_data=None): 138 138 139 139 140 140 def on_name_lost(conn, name, user_data=None):141 -1 sys.exit('name lost')-1 141 sys.exit( -1 142 f'Could not aquire name {FDN_IFAC}. ' -1 143 f'Is some other notification daemon running?' -1 144 ) 142 145 143 146 144 147 if __name__ == '__main__':