Add initial logic to also trap in built bash errors and highlight in red
but required that warning and debug messages are sent to stdout so that
the colour changes are respected.