Skip to content

Commit 7f9f85c

Browse files
committed
Throw fatal error to allow error handling in module usage
1 parent 11d5611 commit 7f9f85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libV2/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ module.exports = {
104104
}
105105
catch (error) {
106106
console.error(error);
107-
break;
107+
throw error;
108108
}
109109

110110
collection.variable.push(...collectionVariables);

0 commit comments

Comments
 (0)