commit | 446fbe70dde17e4eaa98db186c21eb0af9032e45 | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Tue Sep 02 17:13:40 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Tue Sep 02 17:13:40 2014 +0000 |
tree | 433556ff24c93995e2291d5011739d5df29b05e9 | |
parent | f73662336a67656fd433e94429dcf68e21e32c4d [diff] |
Minor fix for ql visualization
diff --git a/lib/Korap/Search.pm b/lib/Korap/Search.pm index a656635..d3716ab 100644 --- a/lib/Korap/Search.pm +++ b/lib/Korap/Search.pm
@@ -24,6 +24,10 @@ }); my $tx = $c->ua->build_tx(TRACE => $url); + + $c->app->log->debug('Trace URL: ' . $url); + $c->app->log->debug('Trace Request: ' . $tx->req->url); + if (my $response = $c->ua->start($tx)->success) { $c->stash('search.query' => $response->json); }