just log the error and go on

This commit is contained in:
Athou
2013-04-15 22:46:41 +02:00
parent e124fdbe8f
commit c35363a8cb

View File

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