This pull request ups the server to 3.11 and this is server code, so it's impossible for this check to be true, i.e. impossible for this exception to be fired afaics.