summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-11-19 11:19:43 +1100
committerChris Johns <chrisj@rtems.org>2019-11-19 11:19:43 +1100
commit074ef0c6cd692c3b18feba4d46e9834aa1f822fc (patch)
treeeddc3f1ffb887d134a94711f9cbb318c63ad7922
parentdf2a714ac4ac08aadd7b0e48c5db20cf4c5fcd02 (diff)
downloadrtems-source-builder-074ef0c6cd692c3b18feba4d46e9834aa1f822fc.tar.bz2
sb/setbuilder: Output the mail send failure message on error
-rw-r--r--source-builder/sb/setbuilder.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index 09633bd..7b80817 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -653,7 +653,11 @@ class buildset:
if self.build_failure is not None:
mail['failure'] = self.build_failure
if self.mail_active(mail, nesting_count):
- self.mail_send(mail)
+ try:
+ self.mail_send(mail)
+ except error.general as gerr:
+ log.notice('Mail Send Failure: %s' % (gerr))
+
log.notice('Build Set: Time %s' % (build_time))
def list_bset_cfg_files(opts, configs):