ZEN-11405 Need to be able to capture events that fail in transforms

prepend with:
#! /usr/bin/env bash