foreman
foreman copied to clipboard
Fixes #37341 - catch exception if host parameter can not be rendered
See https://projects.theforeman.org/issues/37341#note-1 for the reproducer rescue blocks catches exception if safemode is 'on' and if 'off'
[test katello]
[test unit]
Looks like, the bug was introduced with https://github.com/theforeman/foreman/commit/c8236d240fbe4f962264bef391ebe86b708a6beb @nadjaheitmann - maybe you want tor review this?