diff --git a/public/plugins/bioengine-test-run.imjoy.html b/public/plugins/bioengine-test-run.imjoy.html index 473ec88b..bdb396ea 100644 --- a/public/plugins/bioengine-test-run.imjoy.html +++ b/public/plugins/bioengine-test-run.imjoy.html @@ -527,8 +527,11 @@ ) await vtk_viewer.setImage(image) if self.vtk_viewer: - await self.vtk_viewer.sync(vtk_viewer) - await vtk_viewer.sync(self.vtk_viewer) + try: + await self.vtk_viewer.sync(vtk_viewer) + await vtk_viewer.sync(self.vtk_viewer) + except Exception as exp: + await api.log(f"Failed to sync the vtk viewers: {exp}") self.vtk_viewer = vtk_viewer