Skip to content

Commit

Permalink
log error during config load
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Holthausen committed Jun 1, 2020
1 parent df2d342 commit f32e238
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/language-server/src/plugins/svelte/SveltePlugin.ts
Expand Up @@ -155,6 +155,8 @@ export class SveltePlugin
}
return { ...DEFAULT_OPTIONS, ...config };
} catch (err) {
Logger.error('Error while loading config');
Logger.error(err);
return { ...DEFAULT_OPTIONS, ...this.useFallbackPreprocessor(document) };
}
}
Expand Down

0 comments on commit f32e238

Please sign in to comment.