log which storage id can't be inserted
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
e387189d4a
commit
1a8f9b8b1d
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue