Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify error handling in MetricScope wrapper #79

Merged
merged 1 commit into from
Feb 11, 2021
Merged

Simplify error handling in MetricScope wrapper #79

merged 1 commit into from
Feb 11, 2021

Commits on Feb 10, 2021

  1. Simplify error handling in MetricScope wrapper

    `metricScope` now lets the regular try-catch-finally semantics be
    responsible for propagating any errors from the handler instead of
    rethrowing them manually. This allows the wrapper's return type to
    mirror the handler more accurately, eliminating the `| undefined`.
    Akshay Gupta committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    2bd2bac View commit details
    Browse the repository at this point in the history