Skip to content

Commit

Permalink
Make Migration->printException() overridable
Browse files Browse the repository at this point in the history
  • Loading branch information
yus-ham committed May 17, 2024
1 parent 026be95 commit 61774ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/db/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function down()
/**
* @param \Throwable $e
*/
private function printException($e)
protected function printException($e)
{
echo 'Exception: ' . $e->getMessage() . ' (' . $e->getFile() . ':' . $e->getLine() . ")\n";
echo $e->getTraceAsString() . "\n";
Expand Down

0 comments on commit 61774ee

Please sign in to comment.