GlueDev / laravel-stackdriver

Enables logging, tracing and error reporting to Google Stackdriver for Laravel
MIT License
47 stars 26 forks source link

breaking change on laravel 7 #9

Closed ibrunotome closed 4 years ago

ibrunotome commented 4 years ago

Laravel 7 now receives a Throwable instead of Exception in public function report(Throwable $exception)

the public static function report(Exception $exception): void expects the Exception type.

What we can do? bump a new major version for laravel 7 compatibility or remove the type of variable?

DiederikvandenB commented 4 years ago

I’ll have a look this afternoon. Thanks for reporting!

DiederikvandenB commented 4 years ago

I decided to drop the type so we can keep backwards compatibility.

Released v0.2.1