[-] Remove try catch in main
This commit is contained in:
+2
-4
@@ -1,14 +1,14 @@
|
|||||||
from common.commons import *
|
from common.commons import *
|
||||||
from python.settings import *
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
try:
|
|
||||||
args = getRun()
|
args = getRun()
|
||||||
setLogg()
|
setLogg()
|
||||||
|
|
||||||
setEnv(args)
|
setEnv(args)
|
||||||
|
|
||||||
job = args.job
|
job = args.job
|
||||||
|
|
||||||
|
from python.settings import *
|
||||||
# job = "cluster"
|
# job = "cluster"
|
||||||
pd.options.mode.chained_assignment = None
|
pd.options.mode.chained_assignment = None
|
||||||
|
|
||||||
@@ -191,5 +191,3 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
logging.error('Unknown job %s', job)
|
logging.error('Unknown job %s', job)
|
||||||
except Exception as e:
|
|
||||||
logging.error(e)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user