fix(gui): 添加3MF失败时弹窗提示错误原因
This commit is contained in:
@@ -1053,7 +1053,8 @@ class MainWindow(QMainWindow):
|
||||
path = Path(file_name)
|
||||
try:
|
||||
summary = read_3mf_summary(path)
|
||||
except Exception:
|
||||
except Exception as exc:
|
||||
QMessageBox.warning(self, t("gui.dialog.warning.title"), t("gui.log.skipped_file", path=path.name, reason=str(exc)))
|
||||
return False
|
||||
row = self.table.rowCount()
|
||||
self._updating_table = True
|
||||
|
||||
Reference in New Issue
Block a user