bundle error handler, closed #16