Skip to content

Commit a813b0d

Browse files
flying-sheepgregg-miskelly
authored andcommitted
Include error message in env file parsing error
1 parent 88c42a4 commit a813b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/configurationProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class CSharpConfigurationProvider implements vscode.DebugConfigurationPro
118118
config.env = parsedFile.Env;
119119
}
120120
catch (e) {
121-
throw new Error("Can't parse envFile " + envFile);
121+
throw new Error(`Can't parse envFile ${envFile} because of ${e}`);
122122
}
123123
}
124124

@@ -154,4 +154,4 @@ export class CSharpConfigurationProvider implements vscode.DebugConfigurationPro
154154
}
155155
}
156156
}
157-
}
157+
}

0 commit comments

Comments
 (0)