mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 06:26:04 +08:00
Fix format-security violation with croak
Missed one in https://github.com/prusa3d/slic3r/pull/802.
This commit is contained in:
parent
06f44a9e4b
commit
8eb8a8b1f6
@ -31,7 +31,7 @@
|
|||||||
try {
|
try {
|
||||||
THIS->do_export(print, path, preview_data);
|
THIS->do_export(print, path, preview_data);
|
||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
croak(e.what());
|
croak("%s\n", e.what());
|
||||||
}
|
}
|
||||||
%};
|
%};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user