aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/monitored.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-07 17:30:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-07 17:30:43 +0100
commit5642e1c385c1cebbee947e920046b8582a709f2f (patch)
tree5a1cf6de591dae1e24ebbb3e75a06ccb03a99f87 /src/libserver/monitored.c
parentfda9cd3e09880af4b437830010bef6044c5e1436 (diff)
downloadrspamd-5642e1c385c1cebbee947e920046b8582a709f2f.tar.gz
rspamd-5642e1c385c1cebbee947e920046b8582a709f2f.zip
[Minor] Improve log message
Diffstat (limited to 'src/libserver/monitored.c')
-rw-r--r--src/libserver/monitored.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index 67889048d..d2733367b 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -254,8 +254,10 @@ rspamd_monitored_dns_cb (struct rdns_reply *reply, void *arg)
rspamd_monitored_propagate_success (m, lat);
}
else {
- msg_info_mon ("DNS reply returned %s while %s is expected",
+ msg_info_mon ("DNS reply returned '%s' for %s while '%s' "
+ "was expected",
rdns_strerror (reply->code),
+ m->url,
rdns_strerror (conf->expected_code));
rspamd_monitored_propagate_error (m, "invalid return");
}