From: Vsevolod Stakhov Date: Sun, 14 Feb 2016 20:04:36 +0000 (+0000) Subject: Add more diagnostic for getting keys errors X-Git-Tag: 1.2.0~239 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73373fe6130293dbb563be86f5f2d85c3c15ba6e;p=rspamd.git Add more diagnostic for getting keys errors --- diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 24f08e9b1..a30a52e6e 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -532,7 +532,8 @@ dkim_module_key_handler (rspamd_dkim_key_t *key, } else { /* Insert tempfail symbol */ - msg_info ("cannot get key for domain %s", ctx->dns_key); + msg_info ("cannot get key for domain %s: %e", ctx->dns_key, err); + if (err != NULL) { res->res = DKIM_TRYAGAIN; }