summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-05-28 13:09:50 -0400
committerJason Woodward2010-05-28 13:09:50 -0400
commita1fd3ffc05b2877536af32c2c5743de2fbfd2b2b (patch)
treebd91439609f6a0844b281718d4f0811260c5ff9b
parent7cbb92dbb08aa85a036e1fa302ff3d347952b25b (diff)
downloadJaos-WebApp-a1fd3ffc05b2877536af32c2c5743de2fbfd2b2b.tar.gz
dispatch error should use error log
-rw-r--r--lib/Jaos/WebApp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Jaos/WebApp.pm b/lib/Jaos/WebApp.pm
index 08919c6..71be6ef 100644
--- a/lib/Jaos/WebApp.pm
+++ b/lib/Jaos/WebApp.pm
@@ -92,7 +92,7 @@ sub run
}
};
if ($@) {
- $self->log->debug("dispatch error: $!");
+ $self->log->error("dispatch error: $!");
$self->internal_server_error("$@:$!", $req, $res);
}