diff options
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | lib/Smokeping.pm | 3 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,5 @@ +* make errors in DYNAMIC updates appear in the web server error log + -- niko * remove a quotemeta() call in Config::Grammar to allow metacharacters at the right side of '@define' -- niko, reported by Warrick FitzGerald <lists.smokeping.wfitzgerald *crtman.com> @@ -40,3 +40,7 @@ configurable RRD parameters per target? - suggested by Leos Bitto, <http://lists.ee.ethz.ch/smokeping-users/msg01632.html> + +* CGI LOGGING + replace the __WARN__ and __DIE__ handlers with CGI::Carp? + Problems with speedy? diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 5d28b78..8f98341 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -2572,7 +2572,8 @@ sub cgi ($) { -charset=> ( $cfg->{Presentation}{charset} || 'iso-8859-15') ); if ($q->param(-name=>'secret') && $q->param(-name=>'target') ) { - update_dynaddr $cfg,$q; + my $ret = update_dynaddr $cfg,$q; + do_cgilog($ret) if defined $ret and $ret ne ""; } else { display_webpage $cfg,$q; } |