Description of problem: When you try to call GET `hostname/api/1.0/users/invalid_user` where invalid_user is not existing user then server responds with `500 Internal Server Error`. Version-Release number of selected component (if applicable): tendrl-api-3.0-alpha.2.el7scon.noarch tendrl-commons-3.0-alpha.5.el7scon.noarch tendrl-node-monitoring-3.0-alpha.1.el7scon.noarch tendrl-performance-monitoring-3.0-alpha.2.el7scon.noarch etcd-3.1.7-1.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Login and obtain access token 2. Call: curl -XGET -H "Authorization: Bearer some-access-token" http://hostname/api/1.0/users/nouser Where some-access-token is valid access token and hostname is hostname where api runs. Actual results: Server returns `500 Internal Server Error`. Expected results: Server returns `404 Not found`. Additional info:
Server returns `404 Not found` as expected. --> VERIFIED Tested with: tendrl-alerting-3.0-alpha.4.el7scon.noarch tendrl-api-3.0-alpha.5.el7scon.noarch tendrl-api-httpd-3.0-alpha.5.el7scon.noarch tendrl-commons-3.0-alpha.10.el7scon.noarch tendrl-dashboard-3.0-alpha.5.el7scon.noarch tendrl-node-agent-3.0-alpha.10.el7scon.noarch tendrl-performance-monitoring-3.0-alpha.8.el7scon.noarch