Skip to content
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

Request Status code is not being printed #829

Closed
faustinoaq opened this issue May 29, 2018 · 0 comments
Closed

Request Status code is not being printed #829

faustinoaq opened this issue May 29, 2018 · 0 comments
Assignees
Labels

Comments

@faustinoaq
Copy link
Contributor

Description

The request status code is being logged if request is 200 or 404, see:

private def http_status(status)

So, if request code is different you get this:

8:05:34 Request    | Started 2018-05-29 08:05:34 -05:00
08:05:34 Request    | Status:  Method: GET  Pipeline: web Format: html
08:05:34 Request    | Requested Url: 
08:05:34 Request    | Time Elapsed: 395.0µs

(See empty Status:)

Steps to Reproduce

  1. create a new amber app
  2. request something with different status code (no 200 nor 404)

Expected behavior: See Status: XXX

Actual behavior: Status: <empty>

Reproduces how often: 100%

Versions

Amber master (244d77e)

Additional Information

Discovered on API project

@faustinoaq faustinoaq added this to To Do in Framework 2018 via automation May 29, 2018
@faustinoaq faustinoaq self-assigned this May 29, 2018
@faustinoaq faustinoaq moved this from To Do to In progress in Framework 2018 May 29, 2018
Framework 2018 automation moved this from In progress to Done Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

1 participant