Add debugging logs to update controller code
This commit is contained in:
@@ -121,6 +121,12 @@ sub do_update {
|
|||||||
|
|
||||||
my $c = shift;
|
my $c = shift;
|
||||||
$c->app->log->info($c->log_req);
|
$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 = '';
|
my $modul = '';
|
||||||
|
|
||||||
#The most common ones - you might want to delete some of these if they are not used.
|
#The most common ones - you might want to delete some of these if they are not used.
|
||||||
|
Reference in New Issue
Block a user