Skip to content

Commit

Permalink
Merge pull request #154 from mkanoor/bz_1385038
Browse files Browse the repository at this point in the history
Log the full error message from the provider
(cherry picked from commit 80668f0)

https://bugzilla.redhat.com/show_bug.cgi?id=1481378
  • Loading branch information
gmcculloug authored and simaishi committed Aug 23, 2017
1 parent 37d4b21 commit d9c75f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -12,6 +12,7 @@
when 'error'
$evm.root['ae_result'] = 'error'
reason = $evm.root['miq_provision'].message
$evm.log('error', "ProvisionCheck error <#{reason}>")
reason = reason[7..-1] if reason[0..6] == 'Error: '
$evm.root['ae_reason'] = reason
when 'retry'
Expand Down
Expand Up @@ -13,6 +13,7 @@
when 'error'
$evm.root['ae_result'] = 'error'
reason = $evm.root['miq_provision'].message
$evm.log('error', "ProvisionCheck error <#{reason}>")
reason = reason[7..-1] if reason[0..6] == 'Error: '
$evm.root['ae_reason'] = reason
when 'retry'
Expand Down

0 comments on commit d9c75f4

Please sign in to comment.