-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: return an error when
object get --encoding=protobuf
is fails.
When `--encoding=protobuf` was set, `object get` used to always return a 200 response and would leave the body blank on error. Now, it returns a JSON error. fixes ipfs#2468 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
- Loading branch information
Showing
2 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters