daml/daml-script
Moritz Kiefer b0eebba51b
Improve error reporting when running DAML Script over the JSON API (#6481)
It is pretty easy to hit this, e.g., when your templates haven’t been
uploaded to the ledger. Just printing the response doesn’t actually
include the response body which means that you don’t see the actual
error so it’s pretty useless. This PR changes that by printing the
status code and the response body.

All the rest is just test setup to be able to submit a script with a
template that has not been uploaded to the ledger.

changelog_begin
changelog_end
2020-06-25 14:53:58 +02:00
..
daml Clarify docs around getTime (#6425) 2020-06-19 14:56:53 +02:00
runner Improve error reporting when running DAML Script over the JSON API (#6481) 2020-06-25 14:53:58 +02:00
test Improve error reporting when running DAML Script over the JSON API (#6481) 2020-06-25 14:53:58 +02:00