Skip to content

Are we logging debug stuff accidentally? #1204

@jgeewax

Description

@jgeewax

I have the following script:

var projectId = 'my project';
var gcloud = require('gcloud')({projectId: projectId});
var datastore = gcloud.datastore();

var query = datastore.createQuery('TodoList'); // (1)
datastore.runQuery(query)
  .on('data', function(entity) {})
  .on('end', function() {});

When I run it I get this: (note there are no console.log calls in my script)

$ node gcdtest.js
Service URL: https://datastore.googleapis.com/google.datastore.v1beta3.Datastore
Bearer <a long token is here... not exposing it for obvious reasons>
$

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions