Skip to content

Commit 5d9b5b8

Browse files
committed
Update core.py
1 parent c28ab8d commit 5d9b5b8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runpod/serverless/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ async def _process_job(config: Dict[str, Any], job: Dict[str, Any], hook) -> Dic
201201
else:
202202
log.debug("SLS Core | Running job as a standard function.")
203203
result = await rp_job.run_job(handler, job)
204+
result = result.get('output', result)
204205

205206
except Exception as err: # pylint: disable=broad-except
206207
log.error(f"SLS Core | Error running job: {err}", job['id'])

0 commit comments

Comments
 (0)