Skip to content

Better logging on unhandled exceptions #20

Description

@TwitchBronBron

Many times we have unhandled exceptions in promise flows that get suppressed by the promises library. For example:

  • wrong parameter data type for .then callback
  • runtime exception in a callback (like divide by zero)
  • intentional throw

We need better logging around these situations to help developers know when their promise flows haven't been properly handled.

Perhaps a conditional compile constant that enables this logging?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions