From e0ffd842397c8c226164dd8a2aa26da192f3dd5c Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 4 Dec 2018 14:54:28 +0000 Subject: [PATCH] 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. --- wa/framework/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/framework/output.py b/wa/framework/output.py index c686b8c4..a841804e 100644 --- a/wa/framework/output.py +++ b/wa/framework/output.py @@ -617,7 +617,7 @@ class Event(object): def __init__(self, message): self.timestamp = datetime.utcnow() - self.message = message + self.message = str(message) def to_pod(self): return dict(