diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-06-08 17:44:40 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-06-08 17:45:59 +0200 |
| commit | 900285cda4e4105f02789d29ea71492105a5048c (patch) | |
| tree | bee6de73ab5af53c5243a5050cc447dc5444dbc3 /lib/Net/HTTP/Console/Role/Plugins.pm | |
| parent | add dispatcher for viewing content; update help (diff) | |
| download | net-http-console-900285cda4e4105f02789d29ea71492105a5048c.tar.gz | |
role to log and write
Diffstat (limited to 'lib/Net/HTTP/Console/Role/Plugins.pm')
| -rw-r--r-- | lib/Net/HTTP/Console/Role/Plugins.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/Console/Role/Plugins.pm b/lib/Net/HTTP/Console/Role/Plugins.pm index 2bddccd..8486cdb 100644 --- a/lib/Net/HTTP/Console/Role/Plugins.pm +++ b/lib/Net/HTTP/Console/Role/Plugins.pm @@ -43,7 +43,7 @@ role Net::HTTP::Console::Role::Plugins { last if ($result = $_->dispatch($input)); } }catch{ - print "[ERROR]: ".$_; + $self->application->logger('error', $_); }; } } |
