Skip to content

Commit

Permalink
Merge pull request #1337 from pba-cra/fix/error-repeat
Browse files Browse the repository at this point in the history
fix: error report twice
  • Loading branch information
answershuto committed Apr 19, 2022
2 parents 87121c6 + d40d9c1 commit 1856219
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bridge/bindings/qjs/executing_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ void* ExecutionContext::getOwner() {
bool ExecutionContext::handleException(JSValue* exception) {
if (JS_IsException(*exception)) {
JSValue error = JS_GetException(m_ctx);
reportError(error);
dispatchGlobalErrorEvent(this, error);
JS_FreeValue(m_ctx, error);
return false;
Expand Down

0 comments on commit 1856219

Please sign in to comment.