|
@@ -795,7 +795,7 @@ around '_execute_command' => sub {
|
|
|
}
|
|
}
|
|
|
catch {
|
|
catch {
|
|
|
if ($self->has_error_handler) {
|
|
if ($self->has_error_handler) {
|
|
|
- return $self->error_handler->($self,$_,@args);
|
|
|
|
|
|
|
+ $return_value = $self->error_handler->($self,$_,@args);
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
croak $_;
|
|
croak $_;
|