summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-09-24 13:55:37 +0200
committerRobin Appelman <robin@icewind.nl>2019-09-26 15:04:00 +0200
commit1a8f9b8b1dae03ac8784f98f416bac2e1bb6ce7a (patch)
treeedf67ae2c14350c5fb03ee5056390eb701ed3514 /lib
parente387189d4ae7de574a647b93a8fd2147e99476af (diff)
downloadnextcloud-server-1a8f9b8b1dae03ac8784f98f416bac2e1bb6ce7a.tar.gz
nextcloud-server-1a8f9b8b1dae03ac8784f98f416bac2e1bb6ce7a.zip
log which storage id can't be inserted
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/Storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Storage.php b/lib/private/Files/Cache/Storage.php
index 72aaac11c54..c076cc28359 100644
--- a/lib/private/Files/Cache/Storage.php
+++ b/lib/private/Files/Cache/Storage.php
@@ -81,7 +81,7 @@ class Storage {
if ($row = self::getStorageById($this->storageId)) {
$this->numericId = (int)$row['numeric_id'];
} else {
- throw new \RuntimeException('Storage could neither be inserted nor be selected from the database');
+ throw new \RuntimeException('Storage could neither be inserted nor be selected from the database: ' . $this->storageId);
}
}
}