Project

General

Profile

Actions

Bug #3514

closed

Improve 404 response when a resource isn't found

Added by Dominic Cleal over 10 years ago. Updated over 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Description of problem:
performing `model info --name "<non-existing-model>"` replies back with an improper exception. ===
Stderr: 404 Resource Not Found
ExitCode: 128

Actual results:
exception back with no info that the model does not exist.

Expected results:
proper exception with a note that model does not exist.

(https://bugzilla.redhat.com/show_bug.cgi?id=1023379)


Related issues 1 (0 open1 closed)

Is duplicate of Hammer CLI - Bug #3915: Hammer does not handle 404s wellClosedTomáš Strachota12/18/2013Actions
Actions #1

Updated by Tomáš Strachota over 10 years ago

  • Is duplicate of Bug #3915: Hammer does not handle 404s well added
Actions #2

Updated by Tomáš Strachota over 10 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF