Skip to content
Snippets Groups Projects
Commit 0bb09a89 authored by juga's avatar juga Committed by Matt Traudt
Browse files

Replace Exception by the possible exceptions

parent 026330bc
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,7 @@ def circuit_str(controller, circ_id):
log.warning('Circuit %s no longer seems to exist so can\'t return '
'a valid circuit string for it: %s', circ_id, e)
return None
except Exception as e:
except ControllerError as e:
log.exception("Exception trying to get circuit string %s", e)
return None
return '[' +\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment