Project

General

Profile

Actions

Bug #3915

closed

Hammer does not handle 404s well

Added by Daniel Lobato Garcia over 10 years ago. Updated almost 6 years ago.

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

Description

Hammer should return more informative messages than

Could not create the subnet:
  404 Resource Not Found

or

RestClient::ResourceNotFound (404 Resource Not Found)


when --verbose is set.

https://github.com/theforeman/foreman/pull/1098 needs to be merged for this to happen though.


Related issues 2 (0 open2 closed)

Has duplicate Hammer CLI - Bug #3514: Improve 404 response when a resource isn't foundDuplicate10/25/2013Actions
Blocked by Foreman - Bug #3515: Associated resources not found by ID causes 500 Internal Server ErrorClosedDaniel Lobato Garcia10/25/2013Actions
Actions

Also available in: Atom PDF