don't stop the worker, just log the exception and go on

This commit is contained in:
Athou
2013-04-13 06:39:12 +02:00
parent 47cddc954a
commit 9d7c6b17c0

View File

@@ -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);
}
}
}