diff --git a/bin/fetch_openqa_bugs b/bin/fetch_openqa_bugs index 0cb62fd..c7cfe80 100755 --- a/bin/fetch_openqa_bugs +++ b/bin/fetch_openqa_bugs @@ -57,7 +57,7 @@ for bug_dbid, bugid in bugs.items(): except (AssertionError, requests.exceptions.ReadTimeout) as e: print(" -> ERROR: %s" % e) except (json.decoder.JSONDecodeError, simplejson.errors.JSONDecodeError) as e: - print(" -> ERROR: %s: JSON: %s…" % e, sys.last_value.doc[:50]) + print(" -> ERROR: %s: JSON: %s…" % (e, sys.last_value.doc[:50])) except Exception as e: print(f"Exception occured while fetching {bugid}", file=sys.stderr) raise e