Project

General

Profile

Actions

Refactor #3959

open

Add Dedicated Exception to Host#importHostAndFacts

Added by Greg Sutcliffe over 10 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Foreman-tasks extends ImportHostAndFacts but doesn't like the error that is generated if an upload happens when a host is in build mode.

Currently that is rescued by checking

e.code == 'ERF51-9911'

but this would be better with a dedicated Exception subclass to rescue.

No data to display

Actions

Also available in: Atom PDF