Currently the alert/pipeline history api does not include the error field in the history query from the triggers stream. This pr fixes this.