From fae65f49f3818592a6a9519427b0c84628cc9609 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Mon, 20 Oct 2025 09:36:25 +0100 Subject: [PATCH] Add debugging logs to update controller code --- Templates/controller.pm.tem | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Templates/controller.pm.tem b/Templates/controller.pm.tem index 46a065e..9d01a78 100644 --- a/Templates/controller.pm.tem +++ b/Templates/controller.pm.tem @@ -121,6 +121,12 @@ sub do_update { my $c = shift; $c->app->log->info($c->log_req); + + #for debugging: + $c->app->log->info($c->dumper($c->req->body_params->to_hash)); + $c->app->log->info($c->dumper($c->req->query_params->to_hash)); + $c->app->log->info($c->dumper($c->req->params->to_hash)); + my $modul = ''; #The most common ones - you might want to delete some of these if they are not used.