Increase visibility of Lasso errors (#2084)

This commit is contained in:
Maxime Besson 2020-02-03 17:06:49 +01:00
parent 8140e7ccb2
commit e52f6d3ba7

View File

@ -574,7 +574,7 @@ sub checkMessage {
# @return 1 if no error
sub checkLassoError {
my ( $self, $error, $level ) = @_;
$level ||= 'debug';
$level ||= 'error';
# If $error is not a Lasso::Error object, display error string
unless ( ref($error) and $error->isa("Lasso::Error") ) {