mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-03 05:03:43 +08:00
PR#1719: Clarify common 500 errors
Merges #1719 https://pagure.io/fm-orchestrator/pull-request/1719
This commit is contained in:
@@ -48,7 +48,9 @@ def publish(topic, msg, conf, service):
|
||||
return rv
|
||||
except Exception:
|
||||
messaging_tx_failed_counter.inc()
|
||||
raise
|
||||
raise RuntimeError(
|
||||
"Unable to send message to backend %r" % conf.messaging
|
||||
)
|
||||
|
||||
|
||||
def _fedmsg_publish(topic, msg, conf, service):
|
||||
|
||||
Reference in New Issue
Block a user