Skip to content
Snippets Groups Projects
Commit 1cc0a811 authored by BRONES Romain's avatar BRONES Romain
Browse files

fix: Be less verbose in warning on DevFailed

parent 4f46e17b
Branches
Tags
No related merge requests found
......@@ -221,8 +221,8 @@ def _cmd_with_retry(dp, cmd, arg, retry=2):
try:
cmdreturn = getattr(dp, cmd)(arg)
except tango.DevFailed as e:
logger.warning("The extractor device returned the following error:")
logger.warning(e)
logger.warning("The extractor device returned a DevFailed")
logger.debug(e)
if i == retry-1:
logger.error("Could not execute command %s (%s). Check the device extractor"%(cmd, arg))
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment