Project

General

Profile

Actions

Bug #4756

closed

Bad request errors are not properly displayed in the CLI

Added by David Davis about 10 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If you do the following in the code:

fail HttpErrors::BadRequest.new("This is an error")

Then you get this output in the CLI:

Error: 400 Bad Request

Even though the json has a valid error in it ("This is an error").


Related issues 1 (0 open1 closed)

Is duplicate of Hammer CLI - Bug #5215: "bad request" exceptions and their messages are not displayed to hammer userClosedAdam Price04/16/2014Actions
Actions

Also available in: Atom PDF