Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sympa
sympa
Commits
8f508542
Unverified
Commit
8f508542
authored
Nov 23, 2019
by
IKEDA Soji
Committed by
GitHub
Nov 23, 2019
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message/Plugin.pm
View file @
8f508542
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment