develop
if ( enableGlobalErrorLogging || !( exception instanceof BadRequestException || exception instanceof UnauthorizedException ||