mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
just log the error and go on
This commit is contained in:
@@ -7,7 +7,6 @@ import java.util.concurrent.Future;
|
||||
import javax.annotation.Resource;
|
||||
import javax.ejb.AsyncResult;
|
||||
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(threadName + " : " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
return new AsyncResult<Void>(null);
|
||||
|
||||
Reference in New Issue
Block a user