This commit is contained in:
YuSanka committed 2019-09-02 10:07:31 +02:00
commit e247d66889
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -567,7 +567,7 @@ namespace Slic3r {
{ {
// ensure the zip archive is closed and rethrow the exception // ensure the zip archive is closed and rethrow the exception
close_zip_reader(&archive); close_zip_reader(&archive);
throw e; throw std::runtime_error(e.what());
} }
} }
} }
+1 -1
View File
@@ -872,7 +872,7 @@ bool load_amf_archive(const char* path, DynamicPrintConfig* config, Model* model
{ {
// ensure the zip archive is closed and rethrow the exception // ensure the zip archive is closed and rethrow the exception
close_zip_reader(&archive); close_zip_reader(&archive);
throw e; throw std::runtime_error(e.what());
} }
break; break;