diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-11-13 17:59:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-11-13 17:59:12 +0000 |
commit | 0889381b971b2a18e867074986fc4a7f36e791a5 (patch) | |
tree | 0277a8c8c9afa1dc93b45011cb746b6c81d32bf6 | |
parent | 7ac071f3f5644c2da0816cf3b8223894675c5fc7 (diff) | |
download | rspamd-0889381b971b2a18e867074986fc4a7f36e791a5.tar.gz rspamd-0889381b971b2a18e867074986fc4a7f36e791a5.zip |
[Minor] Improve error logging
-rw-r--r-- | src/libserver/re_cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c index 2e705260e..c35da879d 100644 --- a/src/libserver/re_cache.c +++ b/src/libserver/re_cache.c @@ -1993,7 +1993,8 @@ rspamd_re_cache_compile_timer_cb (EV_P_ ev_timer *w, int revents ) &cache->plt, &test_db, &hs_errors) != HS_SUCCESS) { - msg_info_re_cache ("cannot compile %s to hyperscan, try prefilter match", + msg_info_re_cache ("cannot compile %s to hyperscan: '%s', try prefilter match", + hs_errors != NULL ? hs_errors->message : "unknown error", pat); hs_free_compile_error (hs_errors); |