From 8406148d0a9c9ee36f659e121c3ec4fb27f9801a Mon Sep 17 00:00:00 2001 From: n0mjs710 Date: Sat, 2 Feb 2019 16:46:40 -0600 Subject: [PATCH] provide meaninful output when a bridge is configured for a system not in the main configuration --- bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge.py b/bridge.py index 48c68fb..e96d085 100755 --- a/bridge.py +++ b/bridge.py @@ -105,7 +105,7 @@ def make_bridges(_rules): for _bridge in bridge_file.BRIDGES: for _system in bridge_file.BRIDGES[_bridge]: if _system['SYSTEM'] not in CONFIG['SYSTEMS']: - sys.exit('ERROR: Conference bridges found for system not configured main configuration') + sys.exit('ERROR: Conference bridge "{}" references a system named "{}" that is not enabled in the main configuration'.format(_bridge, _system['SYSTEM'])) _system['TGID'] = bytes_3(_system['TGID']) for i, e in enumerate(_system['ON']):