capacitor: bug: infinite loop on console error using quasar framework

Bug Report

https://github.com/quasarframework/quasar/issues/9029 Using new capacitor 3 with vue3 we have bad error handling, when in template any error, logger of capacitor3 throw an error (details in quasar issue)

Capacitor Version

npx cap doctor

πŸ’Š   Capacitor Doctor  πŸ’Š 

Latest Dependencies:

  @capacitor/cli: 2.4.7
  @capacitor/core: 2.4.7
  @capacitor/android: 2.4.7
  @capacitor/ios: 2.4.7

Installed Dependencies:

  @capacitor/cli: 3.0.0-rc.0
  @capacitor/core: 3.0.0-rc.0
  @capacitor/android: 3.0.0-rc.0
  @capacitor/ios: 3.0.0-rc.0

[success] iOS looking great! πŸ‘Œ
[success] Android looking great! πŸ‘Œ

Platform(s)

Android & iOS

Current Behavior

Stack overflow exception

Expected Behavior

Normal error output

Code Reproduction

https://github.com/bazuka5801/quasar-bug-avoid

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (13 by maintainers)

Commits related to this issue

Most upvoted comments

We’re still aware of the issue, don’t worry πŸ˜„ we were focused on getting the newest RC out the past several days.

@elylucas Found a solution with check for proxy (linked pr)

@thomasvidas Yes, problem with JSON.stringify method, that can’t stop when serialize circular proxy (throwing StackOverflow), I write quick fix, which help me (posted commit + PR).