Print exceptions in JS slots
authorKai Koehne <kai.koehne@theqtcompany.com>
Mon, 5 Jan 2015 14:31:20 +0000 (15:31 +0100)
committerKai Koehne <kai.koehne@theqtcompany.com>
Fri, 9 Jan 2015 12:14:21 +0000 (13:14 +0100)
commite2c1e7b8a274b2b00e19f00f0c24d9b17810f603
tree4b2eab90482580d0d426cfc80581c3b51542571f
parent956d8b8025eb604673402e7cb0565b47d3169d67
Print exceptions in JS slots

Do print JS exceptions raised in slots to the console, and clear the
status afterwards. Otherwise exceptions raised might silently propagate
to later JS calls.

Change-Id: I122f3026aa18028415c5a4672cb3287e7d58ac4d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4qobjectwrapper.cpp