summaryrefslogtreecommitdiffstats
path: root/perl/lib/Mail/Rspamd/Client.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/lib/Mail/Rspamd/Client.pm')
-rw-r--r--perl/lib/Mail/Rspamd/Client.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Mail/Rspamd/Client.pm b/perl/lib/Mail/Rspamd/Client.pm
index 94e26a093..dd09d4a2f 100644
--- a/perl/lib/Mail/Rspamd/Client.pm
+++ b/perl/lib/Mail/Rspamd/Client.pm
@@ -981,7 +981,7 @@ sub _do_control_command {
}
else {
$res{error_code} = 500;
- $res{error} = "Learn failed\n";
+ $res{error} = "Learn failed: $reply\n";
close($remote);
return \%res;
}