Skip to content

Is it possible to log the exception in the console when a function run fails? #318

@reorx

Description

@reorx

Currently I noticed that when a function run fails, the server console only shows:

INFO:     127.0.0.1:60828 - "POST /api/inngest?fnId=my-function-id&stepId=step HTTP/1.1" 500 Internal Server Error

I know that I can check the exception stack in the web ui, but that is not very convenient, especially in the developing process. Additionally, inngest js sdk wouldn't hide the error, I can easily find out what's wrong in the server log. So I hope in python sdk we can have an option to log the exception when the function fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions