From 948793e570889737eaeab1e626367cf1f3500d7e Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 9 Nov 2014 15:31:40 +0100 Subject: [PATCH] Prettier validation errors --- xs/xsp/Print.xsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } %}; %{