mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Update ModelsCommand.php (#862)
Improve Error Reporting for easy debugging
This commit is contained in:
committed by
Barry vd. Heuvel
parent
c0bb9ee1fd
commit
805c4e9a2a
@@ -230,7 +230,7 @@ class ModelsCommand extends Command
|
||||
$ignore[] = $name;
|
||||
$this->nullableColumns = [];
|
||||
} catch (\Throwable $e) {
|
||||
$this->error("Exception: " . $e->getMessage() . "\nCould not analyze class $name.");
|
||||
$this->error("Exception: " . $e->getMessage() . "\nCould not analyze class $name.\n\nTrace:\n".$e->getTraceAsString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user