summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_notes.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_notes.py')
-rwxr-xr-xbin/reproducible_notes.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index 15921b72..b6173598 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -50,8 +50,12 @@ def load_notes():
print_critical_message('Warning: This query produces no results: ' + query
+ '\nThis means there is no tested ' +
'package with the name ' + pkg)
- irc_msg('There is problem with the note for ' + pkg +
- ' - please have a look at ' + os.environ['BUILD_URL'])
+ try:
+ irc_msg('There is problem with the note for ' + pkg +
+ ' - please have a look at ' + os.environ['BUILD_URL'])
+ except KeyError:
+ log.error('There is a problem with the note for %s - please '
+ 'check.', pkg)
else:
notes[pkg] = []
for suite in result: