Revision 9c01bef6
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)
(cherry picked from commit 6d8c402cea10eae20890d839440cacd8eda8a48d)