Added code to pass on flight.err
Merge pull request #230 from phillipCouto/prep_purge_onerror

Added code to pass on flight.err to err