Fix a bad class name when trying to catch exceptions.
This commit is contained in:
parent
5ad34a9266
commit
f59f8a80c4
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ sub execute {
|
|||
my $b = $session->db->read($sql,[$archiveDate, $cs->lineage.'%']);
|
||||
THREAD: while (my ($id, $version) = $b->array) {
|
||||
my $thread = eval { WebGUI::Asset->newById($session, $id, $version); };
|
||||
if (WebGUI::Exception->caught()) {
|
||||
if (Exception::Class->caught()) {
|
||||
$session->log->error("Unable to instanciate Thread: $@");
|
||||
next THREAD;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue