Before, `event.data` was the error or log details. Now, when the details are an error, `event.error` is set, otherwise `event.data`.
Before,
event.datawas the error or log details. Now, when the details are an error,event.erroris set, otherwiseevent.data.