mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
fw/output: Ensure that Event
message is converted to a string
Explicitly convert the passed message into a string as this is expected when generating a event summary, otherwise splitting can fail.
This commit is contained in:
parent
d3d5ca9154
commit
e0ffd84239
@ -617,7 +617,7 @@ class Event(object):
|
|||||||
|
|
||||||
def __init__(self, message):
|
def __init__(self, message):
|
||||||
self.timestamp = datetime.utcnow()
|
self.timestamp = datetime.utcnow()
|
||||||
self.message = message
|
self.message = str(message)
|
||||||
|
|
||||||
def to_pod(self):
|
def to_pod(self):
|
||||||
return dict(
|
return dict(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user