diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index 3d2d2ad4f9..426e948dd9 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -176,7 +176,7 @@ _constant() try { THIS->validate(); } catch (PrintValidationException &e) { - croak(e.what()); + croak("%s\n", e.what()); } %}; %{