mirror of
https://github.com/munki/munki.git
synced 2026-04-25 22:40:46 -05:00
Convert Exception objects to unicode before passing them to munkicommon.display_* functions. Addresses issue #584
This commit is contained in:
@@ -202,7 +202,7 @@ def runScript(script, display_name, runtype):
|
||||
except utils.ScriptNotFoundError:
|
||||
pass # script is not required, so pass
|
||||
except utils.RunExternalScriptError, err:
|
||||
munkicommon.display_warning(err)
|
||||
munkicommon.display_warning(unicode(err))
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user