summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8843fc5)
raw | patch | inline | side by side (parent: 8843fc5)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 16 Sep 2008 13:36:18 +0000 (15:36 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 1 Oct 2008 07:47:37 +0000 (09:47 +0200) |
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/perl.c | patch | blob | history |
diff --git a/src/perl.c b/src/perl.c
index 84dd5372758474cbc6321bdb1ebce5971b681f2e..2a8180d2231d71e64fedbe55f5c197b87327195d 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
if (0 != perl_parse (aTHX_ xs_init, argc, argv, NULL)) {
- log_err ("init_pi: Unable to bootstrap Collectd.");
+ SV *err = get_sv ("@", 1);
+ log_err ("init_pi: Unable to bootstrap Collectd: %s",
+ SvPV_nolen (err));
perl_destruct (perl_threads->head->interp);
perl_free (perl_threads->head->interp);