one more exception caught, more verbose sys.exit
This commit is contained in:
parent
398514a422
commit
ea0610409a
|
@ -15,6 +15,8 @@ try:
|
||||||
nick = config.get('IRC', 'nick')
|
nick = config.get('IRC', 'nick')
|
||||||
ircname = config.get('IRC', 'name')
|
ircname = config.get('IRC', 'name')
|
||||||
except NoSectionError as e:
|
except NoSectionError as e:
|
||||||
sys.exit(str(e))
|
sys.exit("Aborted due to error with necessary configuration: " + str(e))
|
||||||
|
except NoOptionError as e:
|
||||||
|
sys.exit("Aborted due to error with necessary configuration: " + str(e))
|
||||||
|
|
||||||
# vi:tabstop=4:expandtab:autoindent
|
# vi:tabstop=4:expandtab:autoindent
|
||||||
|
|
Loading…
Reference in New Issue