public inbox for
help / color / mirror / Atom feed
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-90-g44ba4fd
Date: Sat, 30 Sep 2017 13:54:00 -0000	[thread overview]
Message-ID: <> (raw);h=44ba4fdab425a806f6c662a1c193f3b9d7d0c994

commit 44ba4fdab425a806f6c662a1c193f3b9d7d0c994
Author: Jon Turney <>
Date:   Fri Sep 29 23:56:52 2017 +0100

    Email exception stopping calm daemon, as well as writing it to log

 calm/ |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/calm/ b/calm/
index c0558ca..cfffb2f 100755
--- a/calm/
+++ b/calm/
@@ -527,7 +527,8 @@ def do_daemon(args, state):
                 # cancel any pending alarm
         except Exception as e:
-            logging.error("exception %s" % (type(e).__name__), exc_info=True)
+            with mail_logs(,, subject='calm stopping due to unhandled exception', thresholdLevel=logging.ERROR) as leads_email:
+                logging.error("exception %s" % (type(e).__name__), exc_info=True)
 "calm daemon stopped")

                 reply	other threads:[~2017-09-30 13:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).