goaop / framework

:gem: Go! AOP PHP - modern aspect-oriented framework for the new level of software development
go.aopphp.com
MIT License
1.66k stars 163 forks source link

2.3.4 framework exception type with error type #472

Closed 137-rick closed 3 years ago

137-rick commented 3 years ago

hi sir it's old bug

T_T

please publish 2.3.5 version

Argument 1 passed to Go\Instrument\ClassLoading\CacheWarmer::Go\Instrument\ClassLoading{closure}() must be an instance of Exception, instance of Error given, called in / vendor/goaop/framework/src/Instrument/ClassLoading/CacheWarmer.php on line 88

137-rick commented 3 years ago

Expect to release soon T_T

137-rick commented 3 years ago
    $displayException = function (\Exception $exception, $path) use (&$errors) {

to $displayException = function (\Throwable $exception, $path) use (&$errors) {

137-rick commented 3 years ago

T_T anybody ?

lisachenko commented 3 years ago

Merged and released 2.3.5

lisachenko commented 3 years ago

Resolved in #473