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

Commit 51c5fc2e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Append the exception message to errorMsg field of session"

parents 5e687f45 eba5e34e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -919,10 +919,10 @@ public class StagingManager {
            } catch (PackageManagerException e) {
                onInstallationFailure(session, e);
            } catch (Exception e) {
                final String errorMsg = "Staged install failed due to unhandled exception";
                Slog.e(TAG, errorMsg, e);
                Slog.e(TAG, "Staged install failed due to unhandled exception", e);
                onInstallationFailure(session, new PackageManagerException(
                        SessionInfo.STAGED_SESSION_ACTIVATION_FAILED, errorMsg));
                        SessionInfo.STAGED_SESSION_ACTIVATION_FAILED,
                        "Staged install failed due to unhandled exception: " + e));
            }
        }
    }