Move logException to AbstractErrorHandler