fixes for angular default error handling