slightly improve error message
This commit is contained in:
parent
f6d5d2f9fc
commit
8efa4d5a9c
|
@ -132,8 +132,8 @@ def get_config(file_name, fallback = True):
|
||||||
print msg
|
print msg
|
||||||
logging.info(msg)
|
logging.info(msg)
|
||||||
except:
|
except:
|
||||||
print _("Error copying .example file, cannot fall back. Exiting.\n")
|
print _("Error copying .example config file, cannot fall back. Exiting.\n")
|
||||||
sys.stderr.write(_("Error copying .example file, cannot fall back. Exiting.\n"))
|
sys.stderr.write(_("Error copying .example config file, cannot fall back. Exiting.\n"))
|
||||||
sys.stderr.write( str(sys.exc_info()) )
|
sys.stderr.write( str(sys.exc_info()) )
|
||||||
sys.exit()
|
sys.exit()
|
||||||
elif fallback:
|
elif fallback:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user