Modify bowtie error handler