diff --git a/test_status_cli.py b/test_status_cli.py index 2f932c1..905465b 100644 --- a/test_status_cli.py +++ b/test_status_cli.py @@ -139,7 +139,7 @@ def run(self): self.TestStatus.assertEqual(r.status_code, 200) logger.info(f'Status tested: {self.url}') except Exception as error: - logger.error(f'An error occurred: {error}') + logger.error(f'An error occurred for {self.url}: {error}') g_failedNodes.append(self.url) logger.info('Status test failed') testThreadsRunning -= 1 @@ -171,7 +171,7 @@ def test_status_gss(self): self.assertEqual(r.status_code, 200) logger.info(f'GSS Status tested') except Exception as error: - logger.error(f'An error occurred: {error}') + logger.error(f'An error occurred for gss: {error}') def test_frontend_statusinfo_gss(self): global logger