diff options
Diffstat (limited to 'src/tools/wasm-shell.cpp')
-rw-r--r-- | src/tools/wasm-shell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp index 08c76ac9c..20d4b9344 100644 --- a/src/tools/wasm-shell.cpp +++ b/src/tools/wasm-shell.cpp @@ -208,7 +208,7 @@ static void run_asserts(Name moduleName, } catch (const TrapException&) { trapped = true; } catch (const WasmException& e) { - std::cout << "[exception thrown: " << e.exn << "]" << std::endl; + std::cout << "[exception thrown: " << e << "]" << std::endl; trapped = true; } if (id == ASSERT_RETURN) { |