Bugfix: For DefaultApplication error handler