PR#1719: Clarify common 500 errors

Merges #1719
https://pagure.io/fm-orchestrator/pull-request/1719
This commit is contained in:
Mike McLean
2021-08-23 12:08:36 -04:00

View File

@@ -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):