-
Notifications
You must be signed in to change notification settings - Fork 370
Open
Description
Even with -Dcats.effect.tracing.mode=full -Dcats.effect.tracing.buffer.size=1024
stack traces from doobie have no useful context:
doobie.util.invariant$UnexpectedEnd$: ResultSet exhausted; more rows expected.
at doobie.util.invariant$UnexpectedEnd$.<clinit>(invariant.scala:23)
at doobie.hi.resultset$.getUnique$$anonfun$1(resultset.scala:186)
at cats.free.Free.step$$anonfun$1(Free.scala:76)
at cats.free.Free.step(Free.scala:77)
at cats.free.Free.foldMap$$anonfun$1(Free.scala:164)
at cats.data.KleisliFlatMap.tailRecM$$anonfun$1$$anonfun$1(Kleisli.scala:701)
at cats.data.KleisliFlatMap.tailRecM$$anonfun$1$$anonfun$1(Kleisli.scala:701)
at cats.StackSafeMonad.tailRecM(StackSafeMonad.scala:37)
Would it be possible to somehow capture stack the moment transact was called and attach to this (controlled by prop)?
Metadata
Metadata
Assignees
Labels
No labels