Commit 8e857fc7 authored by Alexandre Boyer's avatar Alexandre Boyer
Browse files

real fix monitor

parent 586719b1
Pipeline #124261 passed with stage
in 31 seconds
......@@ -93,7 +93,7 @@ class ActevCommand():
logging.info("%s done" % self.command)
StatusFactory.generateStatus(self, 'done', args.__dict__)
except:
logging.exception("Issue during %s" % self.command)
logging.error("Issue during %s" % self.command)
StatusFactory.generateStatus(self, 'issue', args.__dict__)
sys.exit(1)
......@@ -130,5 +130,5 @@ class Monitor():
time.sleep(self.interval)
except Exception as e:
logger.warning(e)
logger.info('PID {} not available for monitoring'.format(self.main_process.pid))
logger.debug(e)
logger.debug('PID {} not available for monitoring'.format(self.main_process.pid))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment