alertmanager/notify/email
Simon Pasquier 9b0ecaa0fe
notify/email: wrap all errors for easier debugging (#1953)
* notify/email: wrap all errors for easier debugging

In addition, this commit passes the current context to the TCP dialer
and it doesn't log any QUIT errors if the email delivery wasn't
successful.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Fix typo

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-10 11:24:51 +02:00
..
testdata notify/email: wrap all errors for easier debugging (#1953) 2019-07-10 11:24:51 +02:00
email.go notify/email: wrap all errors for easier debugging (#1953) 2019-07-10 11:24:51 +02:00
email_test.go notify/email: wrap all errors for easier debugging (#1953) 2019-07-10 11:24:51 +02:00