diff options
Diffstat (limited to 'ipfs-api/src/response')
-rw-r--r-- | ipfs-api/src/response/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/src/response/error.rs b/ipfs-api/src/response/error.rs index f0bac60..5f67eec 100644 --- a/ipfs-api/src/response/error.rs +++ b/ipfs-api/src/response/error.rs @@ -40,9 +40,9 @@ error_chain! { /// A stream error indicated in the Trailer header. /// - StreamError { + StreamError(err: String) { description("api returned a stream error"), - display("api returned a stream error") + display("api returned an error while streaming: '{}'", err) } Uncategorized(err: String) { |