mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(db): Print why the migration file could not be created
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
bc1da2fa54
commit
5f0ada879e
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ class {{classname}} extends SimpleMigrationStep {
|
|||
$path = $dir . '/' . $className . '.php';
|
||||
|
||||
if (file_put_contents($path, $code) === false) {
|
||||
throw new RuntimeException('Failed to generate new migration step.');
|
||||
throw new RuntimeException('Failed to generate new migration step. Could not write to ' . $path);
|
||||
}
|
||||
|
||||
return $path;
|
||||
|
|
|
|||
Loading…
Reference in a new issue