summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RPM4/NEWS1
-rw-r--r--RPM4/src/RPM4.xs3
2 files changed, 4 insertions, 0 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index e8e56b7..b675d25 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,4 +1,5 @@
- fix for a random segfault
+- report script errors
Version 0.25 - 14 December 2011
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 57265c2..2cf9e36 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -275,6 +275,9 @@ void *
case RPMCALLBACK_CPIO_ERROR:
s_what = "CPIO_ERROR";
break;
+ case RPMCALLBACK_SCRIPT_ERROR:
+ s_what = "SCRIPT_ERROR";
+ break;
}
XPUSHs(sv_2mortal(newSVpv("what", 0)));