diff --git a/tutorials/sdks/python/101/error.mdx b/tutorials/sdks/python/101/error.mdx index 975de9b5..96d79f36 100644 --- a/tutorials/sdks/python/101/error.mdx +++ b/tutorials/sdks/python/101/error.mdx @@ -117,7 +117,7 @@ def handler(job): except Exception as e: log.error(f"An error occurred: {str(e)}") - return {"status": "error", "message": str(e)} + return {"error": str(e)} ``` This handler: @@ -223,7 +223,7 @@ def handler(job): except Exception as e: log.error(f"An error occurred: {str(e)}") - return {"status": "error", "message": str(e)} + return {"error": str(e)} runpod.serverless.start({"handler": handler})