src/trc-marker-trajectory-factory.cc: enhance try-catch block