Skip to content

fix(remix): Do not skip error handling if tracing is not enabled.#5811

Merged
AbhiPrasad merged 1 commit intomasterfrom
onur/remix-server-tracing-checks
Sep 26, 2022
Merged

fix(remix): Do not skip error handling if tracing is not enabled.#5811
AbhiPrasad merged 1 commit intomasterfrom
onur/remix-server-tracing-checks

Conversation

@onurtemizkan
Copy link
Copy Markdown
Contributor

Fixes: #5742

We were early returning wrappers (which are also responsible for most errors to handle) if there isn't an active transaction.

This PR removes it and early returns only if there isn't a scope defined.

@AbhiPrasad AbhiPrasad merged commit 630ed9c into master Sep 26, 2022
@AbhiPrasad AbhiPrasad deleted the onur/remix-server-tracing-checks branch September 26, 2022 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wrapExpressCreateRequestHandler not working in Remix with Express adapter

2 participants