]> git.ipfire.org Git - nitsi.git/commitdiff
Log exeptions when we try to login
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 9 May 2018 07:36:40 +0000 (09:36 +0200)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 9 May 2018 07:36:40 +0000 (09:36 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
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)