Show full error message

wilsonhsu0102
Wed, 14 Jun 2023 21:02:30 +0000
App Development

Hi team,

I was looking for a way to stop daml from truncating the error messages returned by HTTP JSON API, but I was not able to find anything.

How do we return the full message instead of having ... at the end like

FAILED_PRECONDITION: DAML_INTERPRETATION_ERROR(9,20fbbaf4): Interpretation error: Error: Unhandled Daml exception: DA.Exception.AssertionFailed:AssertionFailed@3f4deaf1{ message = "Some long error messa..." }

4 posts - 2 participants