We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78f832a commit b33b5bbCopy full SHA for b33b5bb
extensions/ql-vscode/src/common/errors.ts
@@ -1,3 +1,5 @@
1
+import * as os from "os";
2
+
3
export class RedactableError extends Error {
4
constructor(
5
cause: ErrorLike | undefined,
@@ -27,7 +29,7 @@ export class RedactableError extends Error {
27
29
return this.fullMessage;
28
30
}
31
- return `${this.fullMessage}\n${this.stack}`;
32
+ return `${this.fullMessage}${os.EOL}${this.stack}`;
33
34
35
public get redactedMessage(): string {
0 commit comments