File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
sentry-android-core/src/main/java/io/sentry/android/core Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 44
55### Fixes
66
7+ - Avoid ArrayIndexOutOfBoundsException on Android cpu data collection ([ #3598 ] ( https://github.com/getsentry/sentry-java/pull/3598 ) )
78- Check app start spans time and ignore background app starts ([ #3550 ] ( https://github.com/getsentry/sentry-java/pull/3550 ) )
89 - This should eliminate long-lasting App Start transactions
910
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ private long readTotalCpuNanos() {
115115 // Amount of clock ticks this process' waited-for children has been scheduled in kernel mode
116116 long csTime = Long .parseLong (stats [16 ]);
117117 return (long ) ((uTime + sTime + cuTime + csTime ) * nanosecondsPerClockTick );
118- } catch (NumberFormatException e ) {
118+ } catch (NumberFormatException | ArrayIndexOutOfBoundsException e ) {
119119 logger .log (SentryLevel .ERROR , "Error parsing /proc/self/stat file." , e );
120120 return 0 ;
121121 }
You can’t perform that action at this time.
0 commit comments