aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/re_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/re_cache.c')
-rw-r--r--src/libserver/re_cache.c3
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);