Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b9438ec authored by Dmitry Dementyev's avatar Dmitry Dementyev
Browse files

Include cause in exceptions thrown by RecoveryController.

Test: none
Bug: 168995299
Change-Id: I59d5b0eecfc634d2a86f400dae14bc9a367bbeb9
parent 51b7fea9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -751,7 +751,7 @@ public class RecoveryController {
    InternalRecoveryServiceException wrapUnexpectedServiceSpecificException(
            ServiceSpecificException e) {
        if (e.errorCode == ERROR_SERVICE_INTERNAL_ERROR) {
            return new InternalRecoveryServiceException(e.getMessage());
            return new InternalRecoveryServiceException(e.getMessage(), e);
        }

        // Should never happen. If it does, it's a bug, and we need to update how the method that