]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
PhysicalConsole.check_status(): Use log.exception
authorZack Cerza <zack@redhat.com>
Wed, 2 Aug 2023 17:04:21 +0000 (11:04 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 2 Aug 2023 17:04:21 +0000 (11:04 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/orchestra/console.py

index 6361cd42863e5ccb3f5d2c53f6aa95d10e6d4330..ade67e46bfcfa707798a22fbced5de6aa32f480d 100644 (file)
@@ -196,8 +196,8 @@ class PhysicalConsole(RemoteConsole):
             # check for login prompt at console
             self._wait_for_login(timeout)
             return True
-        except Exception as e:
-            self.log.info('Failed to get ipmi console status: {e}'.format(e=e))
+        except Exception:
+            self.log.exception('Failed to get ipmi console status')
             return False
 
     def power_cycle(self, timeout=300):