diff --git a/dr.botzo.py b/dr.botzo.py index 1c2b819..b21d9ff 100755 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -15,6 +15,8 @@ try: nick = config.get('IRC', 'nick') ircname = config.get('IRC', 'name') 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