Collectd.pm: Improved error handling of failed callbacks.
authorSebastian Harl <sh@tokkee.org>
Sat, 17 Nov 2007 17:45:58 +0000 (18:45 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 20 Nov 2007 08:04:43 +0000 (09:04 +0100)
commitc63d52c52bfe891c8faa62e0d5539d7fba7b3d88
treebfd8e7d65d0ed0ff671afc289e198f4db40fe717
parent3b10fcf1c9efe1ac49029c3c64ff6262047f1e0f
Collectd.pm: Improved error handling of failed callbacks.

If call_by_name() failed, it will be handled the same way as if the callback
returned "false". The $@ variable may now be used by plugins as well to
describe errors in greater detail.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
bindings/perl/Collectd.pm
src/collectd-perl.pod