Skip to content

Commit d6cbf06

Browse files
Fix error handling in batchGet sample (#1338)
1 parent 2881364 commit d6cbf06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/analyticsReporting/batchGet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if (module === require.main) {
5252
const scopes = ['https://www.googleapis.com/auth/analytics'];
5353
sampleClient.authenticate(scopes)
5454
.then(c => runSample())
55-
.catch(e => console.error);
55+
.catch(console.error);
5656
}
5757

5858
// export functions for testing purposes

0 commit comments

Comments
 (0)