Unverified Commit 8f508542 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #807 from racke/pr/sympa-plugin-crash by racke

Prevent Sympa daemon crash due to a broken plugin module.
parents 75677660 75c0b0f5
......@@ -58,8 +58,7 @@ sub execute {
unless $hook_module =~ /::/;
unless (exists $handlers{$hook_module . '->' . $hook_name}) {
eval "use $hook_module;";
if ($EVAL_ERROR) {
unless (eval "require $hook_module") {
$log->syslog('err', 'Cannot load hook module %s: %s',
$hook_module, $EVAL_ERROR);
return undef;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment