Unverified Commit 80be4093 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #906 from racke/pr/config-xml-fix-logging by racke

Fix logging of open file error in Config_XML's constructor.
parents 44ed49c7 d0e7fddf
......@@ -52,7 +52,7 @@ sub new {
$fh = $file;
} else {
unless (open $fh, '<', $file) {
$log->syslog('err', 'Can\'t open %s: $m', $file);
$log->syslog('err', 'Can\'t open %s: %s', $file, $ERRNO);
return bless {} => $class;
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