Skip to content

Commit

Permalink
Add logging message in catch
Browse files Browse the repository at this point in the history
  • Loading branch information
boydjohnson committed Jul 27, 2021
1 parent 4e204f2 commit 3c53464
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/add-logging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"gatsby-source-airtable": patch
---

Add logging statement

1 change: 1 addition & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ exports.sourceNodes = async (
}, []);
})
.catch((e) => {
console.warn("Error fetching tables: " + e);
throw e;
return;
});
Expand Down

0 comments on commit 3c53464

Please sign in to comment.