We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3efca2 commit 876aa38Copy full SHA for 876aa38
1 file changed
app/platforms/implementations/openeo.py
@@ -238,8 +238,12 @@ async def get_job_status(
238
) -> ProcessingStatusEnum:
239
logger.debug(f"Fetching job status for openEO job with ID {job_id}")
240
connection = await self._setup_connection(user_token, details.endpoint)
241
- job = connection.job(job_id)
242
- return self._map_openeo_status(job.status())
+ try:
+ job = connection.job(job_id)
243
+ return self._map_openeo_status(job.status())
244
+ except Exception as e:
245
+ logger.error(f"Error occurred while fetching job status for job {job_id}: {e}")
246
+ return ProcessingStatusEnum.UNKNOWN
247
248
async def get_job_results(
249
self, user_token: str, job_id: str, details: ServiceDetails
0 commit comments