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 2026-07-12 13:50:11 +02:00 committed by GitHub
commit b256d5a5f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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):
"""