Merge pull request #2812 from GNS3/bugfix/2788

fix: gns3-server crashes on startup if "Open this project in the background" is active but there is a problem with that project
This commit is contained in:
Jeremy Grossmann authored and GitHub committed 2026-07-12 13:50:11 +02:00
commit b256d5a5f6
1 file changed
+9 -1
+9 -1
View File
@@ -562,7 +562,15 @@ class Controller:
for project in self._projects.values():
if project.auto_open:
await project.open()
try:
await project.open()
except aiohttp.web.HTTPClientError as e:
details = e.text or e.reason or str(e)
log.warning(
"Failed to auto-open project '%s': %s",
project.name,
details,
)
def get_free_project_name(self, base_name):
"""