diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-03 10:15:23 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-03 10:15:23 +0200 |
commit | a2087f30d1c4b379b9a53a7ba8ef604038d2b8cb (patch) | |
tree | 0255b4ed40e62e76b175768a46c0b4745d6b6481 /lib/private/files/cache/cache.php | |
parent | 23f1702f24a84e02345d4b3694a4dcef209d432e (diff) | |
parent | a8d1ede3474d394566bff8ef721908b7df3f86c3 (diff) | |
download | nextcloud-server-a2087f30d1c4b379b9a53a7ba8ef604038d2b8cb.tar.gz nextcloud-server-a2087f30d1c4b379b9a53a7ba8ef604038d2b8cb.zip |
Merge pull request #15383 from owncloud/fix-exception-message
Update exception messages to better reflect and describe the problem
Diffstat (limited to 'lib/private/files/cache/cache.php')
-rw-r--r-- | lib/private/files/cache/cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/cache.php b/lib/private/files/cache/cache.php index 1d012268970..9a785d071f7 100644 --- a/lib/private/files/cache/cache.php +++ b/lib/private/files/cache/cache.php @@ -287,7 +287,7 @@ class Cache { $this->update($id, $data); return $id; } else { - throw new \RuntimeException('File entry exists when inserting and does not exist on select... go away'); + throw new \RuntimeException('File entry could not be inserted with insertIfNotExist() but could also not be selected with getId() in order to perform an update. Please try again.'); } } } |