]> git.ipfire.org Git - nitsi.git/blobdiff - src/nitsi/machine.py
Log exeptions when we try to login
[nitsi.git] / src / nitsi / machine.py
index b49fe302f825f664629078111014df57bcb81c84..0d790ae0eab5be5c4f5ba059daee6aeab47dca0c 100644 (file)
@@ -123,6 +123,8 @@ class machine():
             self.serial_con.login(self.password)
         except BaseException as e:
             self.log.error("Could not connect to the domain via serial console")
+            self.log.exception(e)
+            raise e
 
     def cmd(self, cmd):
         return self.serial_con.command(cmd)