From aa8d3d14289dfbda3d942edbb48e92e8dfdd9926 Mon Sep 17 00:00:00 2001 From: Benjamin Nussbaum Date: Tue, 2 Sep 2025 12:54:10 +0200 Subject: [PATCH] fix: show more detailed Liquid exceptions --- resources/views/livewire/plugins/recipe.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/plugins/recipe.blade.php b/resources/views/livewire/plugins/recipe.blade.php index 9226af6..2bcf519 100644 --- a/resources/views/livewire/plugins/recipe.blade.php +++ b/resources/views/livewire/plugins/recipe.blade.php @@ -133,7 +133,7 @@ new class extends Component { $this->addError('polling_url', 'The polling URL must be a valid URL after resolving configuration variables.'); } } catch (\Exception $e) { - $this->addError('polling_url', 'Error resolving Liquid variables: ' . $e->getMessage()); + $this->addError('polling_url', 'Error resolving Liquid variables: ' . $e->getMessage() . $e->getPrevious()?->getMessage()); } } } @@ -148,7 +148,7 @@ new class extends Component { $this->data_payload_updated_at = $this->plugin->data_payload_updated_at; } catch (\Exception $e) { - $this->dispatch('data-update-error', message: $e->getMessage()); + $this->dispatch('data-update-error', message: $e->getMessage() . $e->getPrevious()?->getMessage()); } } }