Skip to content

Commit f59f8a8

Browse files
committedMar 12, 2012
Fix a bad class name when trying to catch exceptions.
1 parent 5ad34a9 commit f59f8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/WebGUI/Workflow/Activity/ArchiveOldThreads.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ sub execute {
9090
my $b = $session->db->read($sql,[$archiveDate, $cs->lineage.'%']);
9191
THREAD: while (my ($id, $version) = $b->array) {
9292
my $thread = eval { WebGUI::Asset->newById($session, $id, $version); };
93-
if (WebGUI::Exception->caught()) {
93+
if (Exception::Class->caught()) {
9494
$session->log->error("Unable to instanciate Thread: $@");
9595
next THREAD;
9696
}

0 commit comments

Comments
 (0)
Please sign in to comment.