Skip to content

Commit

Permalink
Avoid unhandled exception on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
deveee committed Oct 12, 2024
1 parent ecccd5b commit a1595ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tracks/track_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a1595ca

Please sign in to comment.