Skip to content

Commit

Permalink
Fix error handling in batchGet sample (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Sep 14, 2018
1 parent 2881364 commit d6cbf06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/analyticsReporting/batchGet.js
Expand Up @@ -52,7 +52,7 @@ if (module === require.main) {
const scopes = ['https://www.googleapis.com/auth/analytics'];
sampleClient.authenticate(scopes)
.then(c => runSample())
.catch(e => console.error);
.catch(console.error);
}

// export functions for testing purposes
Expand Down

0 comments on commit d6cbf06

Please sign in to comment.