diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/v4/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/v4/main.cpp b/tools/v4/main.cpp index d73fa480..89a25973 100644 --- a/tools/v4/main.cpp +++ b/tools/v4/main.cpp @@ -388,7 +388,8 @@ int main(int argc, char *argv[]) if (! qgetenv("SHOW_EXIT_VALUE").isEmpty()) std::cout << "exit value: " << qPrintable(result.toString(ctx)->toQString()) << std::endl; } - } catch (const QQmlJS::VM::Exception&) { + } catch (QQmlJS::VM::Exception& ex) { + ex.accept(ctx); showException(ctx); return EXIT_FAILURE; } |