Skip to content
Permalink
Browse files

Chore: Verbose configuration error

Close #3143
  • Loading branch information...
mahomedalid authored and molant committed Oct 21, 2019
1 parent b8ba2e1 commit af5d9297c708bb626e431e74b83e7748abf81e87
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/hint/src/lib/analyzer.ts
@@ -97,7 +97,7 @@ export class Analyzer {
try {
configuration = Configuration.fromConfig(userConfiguration, options);
} catch (e) {
throw new AnalyzerError('Invalid configuration', AnalyzerErrorStatus.ConfigurationError);
throw new AnalyzerError(`Invalid configuration. ${e.message}.`, AnalyzerErrorStatus.ConfigurationError);
}

const resources = loadResources(configuration!);

0 comments on commit af5d929

Please sign in to comment.
You can’t perform that action at this time.