Skip to content

Commit

Permalink
fix: [#288] catch all exception and return null
Browse files Browse the repository at this point in the history
  • Loading branch information
andhikayuana committed Dec 13, 2024
1 parent 7a1db80 commit 4007506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private synchronized static byte[] _getData(final Context context, String alias,
} catch (GeneralSecurityException | IOException e) {
Timber.e(e, "timber:getData: error retrieving");
FirebaseCrashlytics.getInstance().recordException(e);
throw new IllegalStateException(e);
return null;
} finally {
lock.unlock();
}
Expand Down

0 comments on commit 4007506

Please sign in to comment.