Skip to content
Snippets Groups Projects
Unverified Commit 1a8f9b8b authored by Robin Appelman's avatar Robin Appelman
Browse files

log which storage id can't be inserted


Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent e387189d
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ class Storage { ...@@ -81,7 +81,7 @@ class Storage {
if ($row = self::getStorageById($this->storageId)) { if ($row = self::getStorageById($this->storageId)) {
$this->numericId = (int)$row['numeric_id']; $this->numericId = (int)$row['numeric_id'];
} else { } 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);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment