Skip to content
Snippets Groups Projects
Commit 0e5ef132 authored by Anael Beutot's avatar Anael Beutot
Browse files

Catch every errors on opening console

parent c071af53
No related branches found
No related tags found
No related merge requests found
......@@ -382,6 +382,10 @@ class Handler(HostHandler):
# cannot create socketpair
logger.error('Cannot create connection to VM console')
raise
except Exception:
logger.exception('Error while trying to open console for domain %s',
name)
raise
def on_shutdown(tun):
"""Method of Tunnel protocol close callback."""
......
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