canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #05596
[Merge] ~andersson123/autopkgtest-cloud:catch-os-error into autopkgtest-cloud:master
Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:catch-os-error into autopkgtest-cloud:master.
Requested reviews:
Canonical's Ubuntu QA (canonical-ubuntu-qa)
For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/475318
Catch another exception if sending an amqp message fails
--
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:catch-os-error into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/request/submit.py b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
index 7b73f78..9635223 100644
--- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py
+++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
@@ -381,7 +381,7 @@ class Submit:
routing_key=queue,
)
return params["uuid"]
- except (TimeoutError, UnboundLocalError) as e:
+ except (TimeoutError, UnboundLocalError, OSError) as e:
raise QueueDead from e
@classmethod