Bugfix: For DefaultApplication error handler (2)