diff --git a/composer.json b/composer.json index af70d38..c4bda95 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "yzen.dev/mono-processor", - "version": "1.0.3", + "version": "1.0.4", "description": "This Processor will display in the logs bread crumbs by which you can more quickly and accurately identify the cause of the error.", "minimum-stability": "dev", "prefer-stable": true, diff --git a/composer.lock b/composer.lock index ffe9267..d324c72 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "341dc65821c874c7d9ee77755b574a3b", + "content-hash": "3c3206eaf7b035cff12265632b9ceebd", "packages": [ { "name": "brick/math", diff --git a/src/EventHandler.php b/src/EventHandler.php index d4e3852..3ae2dc8 100644 --- a/src/EventHandler.php +++ b/src/EventHandler.php @@ -166,6 +166,7 @@ public function __call(string $method, array $arguments): void { $handlerMethod = $handlerMethod = "{$method}Handler"; if (!method_exists($this, $handlerMethod)) { + return; //throw new RuntimeException("Missing event handler: {$handlerMethod}"); }