mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 06:52:57 +00:00
Log a little more information when a generic error is caught
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
d70acba297
commit
b3701269f5
1 changed files with 2 additions and 1 deletions
|
@ -201,8 +201,9 @@ def emit_fedora_message(config, name, checksum, filename, username, msgpath):
|
|||
sys.stderr.write("Fedora Messaging broker rejected message %s: %s" % (msg.id, e))
|
||||
except fedora_messaging.exceptions.ConnectionException as e:
|
||||
sys.stderr.write("Error sending message %s: %s" % (msg.id, e))
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
sys.stderr.write("Error sending fedora-messaging message.")
|
||||
sys.stderr.write("ERROR: %s\n" % e)
|
||||
|
||||
|
||||
def get_config():
|
||||
|
|
Loading…
Add table
Reference in a new issue