mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Improve error handling of loading Slic3r profiles.
This commit is contained in:
parent
bb2b180ecc
commit
3c0cd3cbc8
4 changed files with 42 additions and 17 deletions
|
@ -111,7 +111,7 @@ PresetCollection::arrayref()
|
|||
try {
|
||||
THIS->load_presets(dir_path);
|
||||
} catch (std::exception& e) {
|
||||
croak("Loading of Slic3r presets from %s failed:\n%s\n", dir_path, e.what());
|
||||
croak("Loading of Slic3r presets from %s failed.\n\n%s\n", dir_path, e.what());
|
||||
}
|
||||
%};
|
||||
void load_config_file(const char *path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue