diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-03-02 13:24:06 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-03-02 15:20:38 +0000 |
commit | 6d04819868b68839844f906a5ce479d1c2df420c (patch) | |
tree | 25b5b97ba9cd37e3057ab43382d78c44ec9b48bb /lib/private | |
parent | 80169b836a2323153790e68bdf7b579ad6a91c2f (diff) | |
download | nextcloud-server-6d04819868b68839844f906a5ce479d1c2df420c.tar.gz nextcloud-server-6d04819868b68839844f906a5ce479d1c2df420c.zip |
Add message for DoesNotExistException
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Updater/ChangesCheck.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Updater/ChangesCheck.php b/lib/private/Updater/ChangesCheck.php index 7346ceab6b1..259fb750c05 100644 --- a/lib/private/Updater/ChangesCheck.php +++ b/lib/private/Updater/ChangesCheck.php @@ -56,8 +56,8 @@ class ChangesCheck { $version = $this->normalizeVersion($version); $changesInfo = $this->mapper->getChanges($version); $changesData = json_decode($changesInfo->getData(), true); - if(empty($changesData)) { - throw new DoesNotExistException(); + if (empty($changesData)) { + throw new DoesNotExistException('Unable to decode changes info'); } return $changesData; } |