daml/compiler/repl-service
Moritz Kiefer 2c08586d33
Expose Daml stacktraces for Daml Script errors (#9025)
* Expose Daml stacktraces for Daml Script errors

This finally plugs together the pieces from the previous PRs to
provide stacktraces on any ScriptF command (and thereby anything
involving an interaction with the ledger).

fixes #8754

changelog_begin

- [Daml Script] When running Daml Script on the command line you will
  now see a Daml stacktrace on failures to interact with the ledger
  which makes it significantly easier to track down which of the calls
  fails. By default, you will only get the callsite of functions like
  `submit`. To extend the stack trace, add `HasCallStack` constraints
  to functions and those will also be included.

changelog_end

* Fix non-determinism in tests

changelog_begin
changelog_end

* fmt

changelog_begin
changelog_end
2021-03-04 16:13:50 +01:00
..
client Upgrade nixpkgs (#8190) 2021-02-08 11:12:07 +00:00
protos Fix closure references in Daml Repl (#8950) 2021-02-26 13:29:42 +00:00
server Expose Daml stacktraces for Daml Script errors (#9025) 2021-03-04 16:13:50 +01:00