diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-03-02 13:24:06 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-03-02 13:24:06 +0100 |
commit | 5ce9e73bad3d80657ab2b13f3cc5f91f3033a03f (patch) | |
tree | f869656d3fbe0e9e1c470c8ecdbe92245fabc6b2 /lib/private/Updater | |
parent | 72cc8270cdd0f1c95ef1708be81cf4ac424dca47 (diff) | |
download | nextcloud-server-5ce9e73bad3d80657ab2b13f3cc5f91f3033a03f.tar.gz nextcloud-server-5ce9e73bad3d80657ab2b13f3cc5f91f3033a03f.zip |
Add message for DoesNotExistException
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Updater')
-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; } |