Skip to content

Commit 6569b50

Browse files
committed
REMOVEME: Print a sensible error on thrown error
1 parent ddc82b6 commit 6569b50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/hardhat-core/src/internal/hardhat-network/stack-traces/vm-trace-decoder.ts

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export function initializeVmTraceDecoder(
117117
}
118118
}
119119
} catch (error) {
120+
console.warn(JSON.stringify(error, null, 2), (error as any).message);
120121
console.warn(
121122
chalk.yellow(
122123
"The Hardhat Network tracing engine could not be initialized. Run Hardhat with --verbose to learn more."

0 commit comments

Comments
 (0)