Skip to content

Commit

Permalink
deployd: log facter exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
jaricftw committed Oct 19, 2023
1 parent b686b2c commit 93acc33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy-agent/deployd/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ def get_info_from_facter(keys):
return json.loads(output)
else:
return None
except:
log.error("Failed to get info from facter by keys {}".format(keys))
except Exception as e:
log.error("Failed to get info from facter by keys {}: {}".format(keys, e))
return None


Expand Down

0 comments on commit 93acc33

Please sign in to comment.