moved get job status into try/catch clause in oder to remove broken jobId
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/speciesdiscovery@144113 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e6b15618ff
commit
78f47109a9
|
@ -1906,11 +1906,11 @@ protected ASLSession getASLSession()
|
|||
logger.warn("Gis job has an id null or empty, skipping");
|
||||
}else{
|
||||
|
||||
CompleteJobStatus statusResponse = taxonomyService.getGisLayerByJobId(job.getId());
|
||||
logger.info("get occurrence job "+job.getId()+ " from service");
|
||||
|
||||
try{
|
||||
|
||||
CompleteJobStatus statusResponse = taxonomyService.getGisLayerByJobId(job.getId());
|
||||
logger.info("get occurrence job "+job.getId()+ " from service");
|
||||
|
||||
if(statusResponse!=null){
|
||||
logger.info("statusResponse of gis layer job is not null..." + job.getId());
|
||||
JobGisLayerModel convertJob = GisLayerJobUtil.convertJob(job, statusResponse, gisLayerJobDao, taxonomyService, getASLSession());
|
||||
|
|
Loading…
Reference in New Issue