CC-2805: Airtime-import is failing
- fixed
This commit is contained in:
parent
ac44ae7191
commit
ab302b46ad
1 changed files with 4 additions and 1 deletions
|
@ -291,7 +291,10 @@ try:
|
|||
(option, args) = parser.parse_args()
|
||||
except Exception, e:
|
||||
printHelp()
|
||||
if hasattr(e, 'msg'):
|
||||
print "Error: "+e.msg
|
||||
else:
|
||||
print "Error: "+e
|
||||
sys.exit()
|
||||
except SystemExit:
|
||||
printHelp()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue