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()); } } }