mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 15:45:30 +00:00
Improve error handling of loading Slic3r profiles.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user