We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77d8c0 commit 9ae0fc5Copy full SHA for 9ae0fc5
v-next/hardhat/src/internal/cli/error-handler.ts
@@ -81,6 +81,9 @@ export function printErrorMessages(
81
print("");
82
83
if (showStackTraces) {
84
+ /* eslint-disable-next-line @typescript-eslint/restrict-template-expressions
85
+ -- As we don't know the type of error we are printing, we can't know if it
86
+ has a `stack` property or not, so we print it as a string. */
87
print(error instanceof Error ? `${error.stack}` : `${error}`);
88
if (postErrorStackTraceMessage !== undefined) {
89
0 commit comments