Add listener for error on browserify instance