exception: Move logging logic to static method of MWExceptionHandler