You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace SDKs catch (Exception e) to catch (Throwable e) #1806
The PR #1812 partially addresses this. See PR description for details.
Goal: Changes all Java catch Exception to Throwable so we avoid crashes on Unity that should have been suppressed.
For this issue I suggest we add a linter. So we avoid adding catch Exception again in the future. The linter should warn that throwable should be used to suppress all errors instead.
Activity
philippsuess commentedon Nov 17, 2021
Make sure to log out when we swallow a Throwable. We still need to find out how to log out.
bruno-garcia commentedon Nov 18, 2021
The PR #1812 partially addresses this. See PR description for details.
Goal: Changes all Java catch
ExceptiontoThrowableso we avoid crashes on Unity that should have been suppressed.For this issue I suggest we add a linter. So we avoid adding
catch Exceptionagain in the future. The linter should warn that throwable should be used to suppress all errors instead.romtsn commentedon Oct 18, 2023
Added an additional point to #2685 to track the lint checks, closing this one