Remove redundant error handling, as all these cases are handled in BaseProcess
This commit is contained in:
parent
7f95a3b0ba
commit
aba0cc3ef3
@ -43,14 +43,4 @@ def parse_options():
|
|||||||
return parser.parse_args()[0]
|
return parser.parse_args()[0]
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
try:
|
main()
|
||||||
main()
|
|
||||||
except KeyboardInterrupt:
|
|
||||||
logger.info(u'Interrupted by user')
|
|
||||||
sys.exit(0)
|
|
||||||
except SettingsError, e:
|
|
||||||
logger.error(e)
|
|
||||||
sys.exit(1)
|
|
||||||
except SystemExit, e:
|
|
||||||
logger.error(e)
|
|
||||||
sys.exit(1)
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user