add no-op error handler to bundler to prevent crashes