File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
packages/core/android/src/main/java/io/sentry/react Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -426,19 +426,15 @@ private SentryReplayQuality parseReplayQuality(@Nullable String qualityString) {
426426 return SentryReplayQuality .MEDIUM ;
427427 }
428428
429- try {
430- switch (qualityString .toLowerCase (Locale .ROOT )) {
431- case "low" :
432- return SentryReplayQuality .LOW ;
433- case "medium" :
434- return SentryReplayQuality .MEDIUM ;
435- case "high" :
436- return SentryReplayQuality .HIGH ;
437- default :
438- return SentryReplayQuality .MEDIUM ;
439- }
440- } catch (Exception e ) {
441- return SentryReplayQuality .MEDIUM ;
429+ switch (qualityString .toLowerCase (Locale .ROOT )) {
430+ case "low" :
431+ return SentryReplayQuality .LOW ;
432+ case "medium" :
433+ return SentryReplayQuality .MEDIUM ;
434+ case "high" :
435+ return SentryReplayQuality .HIGH ;
436+ default :
437+ return SentryReplayQuality .MEDIUM ;
442438 }
443439 }
444440
You can’t perform that action at this time.
0 commit comments