Skip to content

Commit be85654

Browse files
authored
Update BaseCommand.php
Log full error
1 parent c065826 commit be85654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/Laravel/Console/Commands/BaseCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function handle()
4242
return $this->handleInternal();
4343
} catch (\Exception $exception) {
4444
$this->error('Something went wrong! Check the log for more information.');
45-
Log::error($exception->getMessage());
45+
Log::error((string) $exception);
4646
}
4747

4848
return 0;

0 commit comments

Comments
 (0)