-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MF-579 Things & Channels returns 404 when not found or ID is malformed, not 500 #633
Conversation
Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com>
@vstarcevic this is the expected behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #633 +/- ##
==========================================
- Coverage 86.72% 86.67% -0.05%
==========================================
Files 62 62
Lines 3623 3625 +2
==========================================
Hits 3142 3142
- Misses 327 329 +2
Partials 154 154
Continue to review full report at Codecov.
|
…rmed not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com>
…d, not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…d, not 500 (absmach#633) * Things returns 404 when not found, not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com> * MF-579 Things returns 404 when not found or thingid is in invalid format Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com> * MF-579 Things and channels returns 404 when not found, or ID is malformed not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com> * MF-579 Things & Channels returns 404 when not found or ID is malformed, not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com>
…d, not 500 (#633) * Things returns 404 when not found, not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com> * MF-579 Things returns 404 when not found or thingid is in invalid format Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com> * MF-579 Things and channels returns 404 when not found, or ID is malformed not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com> * MF-579 Things & Channels returns 404 when not found or ID is malformed, not 500 Signed-off-by: Vladimir Starcevic <vstarcevic@gmail.com>
Signed-off-by: Vladimir Starcevic vstarcevic@gmail.com
What does this do?
Retrieving things or channels by Id, returns 404 when not found or id is malformed, not 500
Which issue(s) does this PR fix/relate to?
Resolves #579
List any changes that modify/break current functionality
NA
Have you included tests for your changes?
Yes
Did you document any new/modified functionality?
NA
Notes