We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c21a6 commit f3b2175Copy full SHA for f3b2175
index.js
@@ -32,8 +32,9 @@ module.exports = function (options) {
32
33
try {
34
checker.configure(loadConfigFile.load(configPath));
35
- } catch (error) {
36
- throw new Error('Unable to load JSCS config file at ' + tildify(path.resolve(configPath)));
+ } catch (err) {
+ err.message = 'Unable to load JSCS config file at ' + tildify(path.resolve(configPath)) + '\n' + err.message;
37
+ throw err;
38
}
39
} else {
40
checker.configure(options);
0 commit comments