author | Sebastian Harl <sh@tokkee.org> | |
Sat, 17 Nov 2007 17:45:58 +0000 (18:45 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 20 Nov 2007 08:04:43 +0000 (09:04 +0100) | ||
commit | c63d52c52bfe891c8faa62e0d5539d7fba7b3d88 | |
tree | bfd8e7d65d0ed0ff671afc289e198f4db40fe717 | tree | snapshot |
parent | 3b10fcf1c9efe1ac49029c3c64ff6262047f1e0f | commit | diff |
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>
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 | diff | blob | history | |
src/collectd-perl.pod | diff | blob | history |