Effect CommunityEC
Effect Community3y ago
5 replies
kayng84

Logging and Discarding Errors in Effect Chains

I have an Effect<never, unknown, void> I want to log the error in error channel and discard the error to make it Effect<never, never, void> . I saw we have logError(message: string) => Effect<never, never, void> . I try to use tapError, but the logError didn't accept the E in error channel. What should I do?
Was this page helpful?