Skip to content

Commit 3c53464

Browse files
committed
Add logging message in catch
1 parent 4e204f2 commit 3c53464

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/add-logging.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"gatsby-source-airtable": patch
3+
---
4+
5+
Add logging statement
6+

gatsby-node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ exports.sourceNodes = async (
137137
}, []);
138138
})
139139
.catch((e) => {
140+
console.warn("Error fetching tables: " + e);
140141
throw e;
141142
return;
142143
});

0 commit comments

Comments
 (0)