Description
The LoggingInterceptor replies with ERROR response that is not augmented by the ServerInfoInterceptor. As a result, the client fails with an error like:
Error during thrift call getTasksStatus to devcluster: 'NoneType' object has no attribute 'thriftAPIVersion'
The fix should address the AOP change on the scheduler as well as scheduler_client.py accessing serverInfo field in a safe fashion (i.e. checking resp.serverInfo is not None).