From 237f0d37904164ee3c005789add9b629f924ebc7 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Tue, 17 Dec 2024 13:27:15 -0800 Subject: [PATCH] always print text --- document/util/check-echidna-status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/document/util/check-echidna-status.py b/document/util/check-echidna-status.py index 0af5a435de..9715f72e8e 100755 --- a/document/util/check-echidna-status.py +++ b/document/util/check-echidna-status.py @@ -30,11 +30,12 @@ def get_current_response(echidna_id): return response.json() print(f'Got status code {response.status_code}, text:') + print(response.text) retry -= 1 if retry: print('Retrying in 5s') - print(response.text) + raise Exception('Failed to fetch echidna result')