Files
SpacetimeDB/crates/cli
Phoebe Goldman 9b084950cf [CLI] Report text of error response in logs (#241)
Prior to this commit, the `logs` subcommand would print an unhelpfully generic HTTP error
on failure. Notably, this error did not include the actual response body.

With this commit, the error includes the HTTP response body.
For example, trying to print logs for a server you don't own shows:

Error: Identity does not own database, expected: 69c07c49846bcf11d7b7cb411018ded585a5a6d9045f8a1a39fa638e9db48436 got: 915cff645f94f52467c43734d54a26d565abb69c7506e30127dd616ca4790414
2023-08-26 08:58:42 -04:00
..
2023-08-01 23:17:02 +02:00
2023-08-01 23:16:37 +02:00
2023-08-01 23:16:37 +02:00