You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is happening because some object has a [util.inspect.custom] function which throws. In Bun, passing such an object to util.inspect will throw the error (which is how it works in Node.js too), but using any console functions (or Bun.inspect, but I don't think effect uses that anywhere) will swallow the error and print the message you're seeing.
Do you have a smaller reproduction that doesn't use effect, or could you point me to the part of effect that is creating/logging this object?
What version of Bun is running?
1.1.20+ae1948925
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
Run this script using Bun (you'll need to have the
effect@3.5.3
package installed:What is the expected behavior?
I expected to see an error message and a stack trace.
What do you see instead?
Additional information
One of the effects members asked me to open this issue to cross-reference. You can find the issue in their repository here: Effect-TS/effect#3270
The text was updated successfully, but these errors were encountered: