Commit dae3ce51 authored by Gabriel Monnerat's avatar Gabriel Monnerat

display exception message only with debug mode enabled

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@41925 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f26522f
......@@ -114,10 +114,10 @@ class OpenOffice(Application):
connection_list[0].local_address[1] == self.port:
process.terminate()
except psutil.error.AccessDenied, e:
logger.error(e)
logger.debug(e)
except TypeError, e:
# exception to prevent one psutil issue with svn processes
logger.error(e)
logger.debug(e)
except NotImplementedError, e:
logger.error("lsof isn't installed on this machine: " + str(e))
......
Markdown is supported
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