File tree Expand file tree Collapse file tree
common/src/main/java/com/microsoft/identity/common/crypto Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232import androidx .annotation .RequiresApi ;
3333
3434import com .microsoft .identity .common .internal .util .AndroidKeyStoreUtil ;
35+ import com .microsoft .identity .common .java .controllers .ExceptionAdapter ;
3536import com .microsoft .identity .common .java .crypto .key .AES256KeyLoader ;
3637import com .microsoft .identity .common .java .crypto .key .KeyUtil ;
3738import com .microsoft .identity .common .java .exception .ClientException ;
@@ -264,6 +265,7 @@ private void saveSecretKeyToStorage(@NonNull final SecretKey unencryptedKey) thr
264265 } catch (final Throwable e ) {
265266 span .setStatus (StatusCode .ERROR );
266267 span .recordException (e );
268+ throw ExceptionAdapter .clientExceptionFromException (e );
267269 } finally {
268270 span .end ();
269271 }
You can’t perform that action at this time.
0 commit comments