FIX: modify the error message

Change-Id: I6b55e190d4b101f7d4648985bfc4d4b24988c4ac
This commit is contained in:
zhimin.zeng 2023-05-31 12:22:41 +08:00 committed by Lane.Wei
parent d18fab1b96
commit b1bef0686b
1 changed files with 2 additions and 1 deletions

View File

@ -1970,7 +1970,8 @@ void ObjectList::load_modifier(const wxArrayString& input_files, ModelObject& mo
model = Model::read_from_file(input_file, nullptr, nullptr, LoadStrategy::LoadModel);
}
catch (std::exception& e) {
auto msg = _L("Error!") + " " + input_file + " : " + e.what() + ".";
// auto msg = _L("Error!") + " " + input_file + " : " + e.what() + ".";
auto msg = _L("Error!") + " " + _L("Failed to get the model data in the current file.");
show_error(parent, msg);
return;
}