CC-2805: Airtime-import is failing
- fixed
This commit is contained in:
parent
ac44ae7191
commit
ab302b46ad
@ -291,7 +291,10 @@ try:
|
||||
(option, args) = parser.parse_args()
|
||||
except Exception, e:
|
||||
printHelp()
|
||||
print "Error: "+e.msg
|
||||
if hasattr(e, 'msg'):
|
||||
print "Error: "+e.msg
|
||||
else:
|
||||
print "Error: "+e
|
||||
sys.exit()
|
||||
except SystemExit:
|
||||
printHelp()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user