From a1595cad3d9a44f3d60cef8881737111cfa08932 Mon Sep 17 00:00:00 2001 From: Deve Date: Sat, 12 Oct 2024 13:17:03 +0200 Subject: [PATCH] Avoid unhandled exception on iOS --- src/tracks/track_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/track_object.cpp b/src/tracks/track_object.cpp index 8fce90e71b9..a6de8bcc871 100644 --- a/src/tracks/track_object.cpp +++ b/src/tracks/track_object.cpp @@ -366,7 +366,7 @@ void TrackObject::init(const XMLNode &xml_node, scene::ISceneNode* parent, { m_animator = new ThreeDAnimation(xml_node, this); } - catch (std::exception& e) + catch (std::runtime_error& e) { #ifndef SERVER_ONLY Log::debug("TrackObject", e.what());