diff --git a/gatsby-node.js b/gatsby-node.js index c9eb8f2..155630c 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -236,7 +236,7 @@ class Plugin { try { response = await request(); } catch (err) { - err = error; + error = err; } if (count > 0) {