Skip to content

Commit

Permalink
fix: only log assigned error
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 20, 2020
1 parent b3607f7 commit ca5c219
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integrations/nextjs-plugin/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ const store = new HMRStore(bundle);
exports.store = store;
`,
err => {
console.error(err);
if (err) {
console.error(err);
}
},
);
});
Expand Down

0 comments on commit ca5c219

Please sign in to comment.