1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-24 09:02:28 +00:00

cleaned up code (removed print statement)

This commit is contained in:
Ian Wood 2017-01-27 16:34:20 +00:00
parent a6c39d50b9
commit e8cda6681d

View File

@ -106,7 +106,6 @@ class Senpy(object):
resp.analysis.append(plug) resp.analysis.append(plug)
logger.debug("Returning analysis result: {}".format(resp)) logger.debug("Returning analysis result: {}".format(resp))
except Exception as ex: except Exception as ex:
print("An exception happened in a plugin... about to report it")
logging.exception('Got exception analysing data') logging.exception('Got exception analysing data')
resp = Error(message=str(ex), status=500) resp = Error(message=str(ex), status=500)
return resp return resp