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 f3255c0 commit efffa7dCopy full SHA for efffa7d
language/parser.js
@@ -434,11 +434,17 @@ export default class Parser {
434
if (includePath) {
435
const include = await this.includeFileFetch(workingUri, includePath);
436
if (include.found) {
437
- await parseContent(include.uri, include.lines);
438
scopes[0].includes.push({
439
toPath: include.uri,
440
line: lineNumber
441
});
+
442
+ try {
443
+ await parseContent(include.uri, include.lines);
444
+ } catch (e) {
445
+ console.log(`Error parsing include: ${include.uri}`);
446
+ console.log(e);
447
+ }
448
}
449
450
0 commit comments