mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Catch all std::exception when loading a map
Since 0eed117e6d exceptions from the map generation script are rethrown
in the main thread but not all of them are catched.
This commit is contained in:
+1
-1
@@ -333,7 +333,7 @@ static int ProgressiveLoad()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (PSERROR_Game_World_MapLoadFailed& e)
|
catch (std::exception& e)
|
||||||
{
|
{
|
||||||
// Map loading failed
|
// Map loading failed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user