Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/xsp/Print.xsp')
-rw-r--r--xs/xsp/Print.xsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp
index b8662dcd8..f4c04577d 100644
--- a/xs/xsp/Print.xsp
+++ b/xs/xsp/Print.xsp
@@ -165,7 +165,7 @@ _constant()
try {
THIS->process();
} catch (std::exception& e) {
- croak(e.what());
+ croak("%s\n", e.what());
}
%};
@@ -173,7 +173,7 @@ _constant()
try {
THIS->export_gcode(path_template, nullptr);
} catch (std::exception& e) {
- croak(e.what());
+ croak("%s\n", e.what());
}
%};