Skip to content
Snippets Groups Projects
Verified Commit ef6e9fcd authored by Tomas Krizek's avatar Tomas Krizek
Browse files

pytests: print verbose log when kresd init fails

parent df7a7404
Branches
Tags
1 merge request!744ci: stabilize pytests
......@@ -109,6 +109,8 @@ class Kresd(ContextDecorator):
raise RuntimeError("Kresd crashed with returncode: {}".format(
self.process.returncode))
except (RuntimeError, ConnectionError): # pylint: disable=try-except-raise
with open(self.logfile_path) as log: # print log for debugging
print(log.read())
raise
return self
......
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