Bugzilla – Attachment #182131: Bug 23010: Clean up try/catch in additem.pl for
bug #23010
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
View
|
Details
|
Raw Unified
| Return to
bug 23010
Collapse All
|
Expand All
(-)
a/cataloguing/additem.pl (-4 / +1 lines)
Lines 645-653 if ( $op eq "cud-additem" ) {
Link Here
645
try {
645
try {
646
$item->store;
646
$item->store;
647
} catch {
647
} catch {
648
if ( ref $_ && $_->can('error') ) {
648
push @errors, $_->error;
649
push @errors, $_->error;
650
}
651
}
649
}
652
}
650
}
653
651
654
-
Return to
bug 23010