Skip to content

Commit

Permalink
Add missing parameter to catch (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Mar 13, 2020
1 parent aab1bd6 commit 10861b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ class Generator extends EventEmitter {
let SubQueue;
try {
SubQueue = require('grouped-queue/lib/subqueue');
} catch {
} catch (error) {
throw new Error(
"The running environment doesn't have the necessary features to run this generator. Update it and run again."
);
Expand Down

0 comments on commit 10861b3

Please sign in to comment.