Revision 6d8c402c
Von Bernd Bleßmann vor etwa 2 Jahren hinzugefügt
SL/DB.pm | ||
---|---|---|
if (blessed $error) {
|
||
if ($error->isa('SL::X::DBError')) {
|
||
# gobble the exception
|
||
} elsif ($error->isa('SL::Locale::String')) {
|
||
die $self->error;
|
||
} else {
|
||
$error->rethrow;
|
||
}
|
Auch abrufbar als: Unified diff
SL::DB: Exception: kein rethrow auf SL::Locale::String-Objekte (t8)
Behebt #493 (redmine)