Skip to content

Commit

Permalink
fixed error string (#599)
Browse files Browse the repository at this point in the history
* fixed error string

* updated changelog
  • Loading branch information
kristinapathak authored May 5, 2022
1 parent a0d45c5 commit 4c34495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Fixed error string sent in response when device ID can't be parsed. [#599](https://github.com/xmidt-org/webpa-common/pull/599)

## [v2.0.6]
- Patch for manager writePump panic. [#595](https://github.com/xmidt-org/webpa-common/pull/595)
Expand Down
2 changes: 1 addition & 1 deletion device/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func useID(f IDFromRequest) func(http.Handler) http.Handler {
xhttp.WriteErrorf(
response,
http.StatusBadRequest,
"Could extract device id: %s",
"failed to extract device ID: %s",
err,
)

Expand Down

0 comments on commit 4c34495

Please sign in to comment.