forked from Archives/Athou_commafeed
don't stop the worker, just log the exception and go on
This commit is contained in:
@@ -6,7 +6,6 @@ import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.ejb.Asynchronous;
|
||||
import javax.ejb.EJBException;
|
||||
import javax.ejb.Stateless;
|
||||
import javax.ejb.TransactionManagement;
|
||||
import javax.ejb.TransactionManagementType;
|
||||
@@ -65,7 +64,7 @@ public class FeedRefreshWorker {
|
||||
Thread.sleep(15000);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new EJBException(e.getMessage(), e);
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user