anchor.diff:          context: request.context);
     }
   }
  +
  +Future<DatastoreDB> _initializeApiaryDatastore() async {
  +  final projectId = Platform.environment['GCLOUD_PROJECT'];
  +  final gcloudKeyVar = Platform.environment['GCLOUD_KEY'];
  +  final serviceAccount = new auth.ServiceAccountCredentials.fromJson(
  +      new File(gcloudKeyVar).readAsStringSync());
  +
  +  final authClient =
  +      await auth.clientViaServiceAccount(serviceAccount, DatastoreImpl.SCOPES);
  +  registerScopeExitCallback(authClient.close);
  +
  +  final datastore = new DatastoreImpl(authClient, projectId);
  +  registerDatastoreService(datastore);
  +
  +  final db = new DatastoreDB(datastore);
  +  registerDbService(db);
  +
  +  return db;
  +}
  
positive.code:             logger.severe('Request handler failed', error, stack);
            }
          }
        });
      });
    });
  }
  
negative.code: 
    withAppEngineServices(() async {
      return fork(() async {
        DatastoreDB savedDb;
        if (Platform.isMacOS) {
          savedDb = await _initializeApiaryDatastore();
        }
        final shelf.Handler apiHandler = await setupServices(activeConfiguration);
  
        AppEngineRequestHandler requestHandler = (ioRequest) async {
          if (context.isProductionEnvironment &&
              ioRequest.requestedUri.scheme != 'https') {
            final secureUri = ioRequest.requestedUri.replace(scheme: 'https');
  