Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

fix: stream error handling #2054

Merged
merged 1 commit into from
Dec 12, 2023
Merged

fix: stream error handling #2054

merged 1 commit into from
Dec 12, 2023

Conversation

lucasmarshall
Copy link
Contributor

@lucasmarshall lucasmarshall commented Dec 12, 2023

Node documentation indicates that this is the correct way to indicate errors in a stream and not to use .emit('error', ...) as that is internal to streams.

I'm hoping this will fix some cases were we aren't getting errors handled by the handleErr function in the provider.

Copy link

vercel bot commented Dec 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
management-ui ⬜️ Ignored (Inspect) Dec 12, 2023 9:22pm
supaglue-docs ⬜️ Ignored (Inspect) Dec 12, 2023 9:22pm

@lucasmarshall lucasmarshall merged commit e81f636 into main Dec 12, 2023
13 checks passed
@lucasmarshall lucasmarshall deleted the lucas/stream-error-handling branch December 12, 2023 21:53
lucasmarshall added a commit that referenced this pull request Dec 13, 2023
lucasmarshall added a commit that referenced this pull request Dec 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants