fixed invocation of CGI::Carp::set_message
The message handler in C4::Context is now correctly passed CGI::Carp. Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
5c51edc653
commit
7ef6669a7e
|
|
@ -49,8 +49,8 @@ BEGIN {
|
|||
} else {
|
||||
print "production mode - trapped fatal";
|
||||
}
|
||||
}
|
||||
CGI::Carp->set_message(\&handle_errors);
|
||||
}
|
||||
CGI::Carp::set_message(\&handle_errors);
|
||||
} # else there is no browser to send fatals to!
|
||||
$VERSION = '3.00.00.036';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue