Skip to content

Commit

Permalink
Chore: Verbose configuration error
Browse files Browse the repository at this point in the history
Close #3143
  • Loading branch information
mahomedalid authored and molant committed Oct 21, 2019
1 parent b8ba2e1 commit af5d929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hint/src/lib/analyzer.ts
Expand Up @@ -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!);
Expand Down

0 comments on commit af5d929

Please sign in to comment.