Skip to content

Commit

Permalink
Don't crash when loading faulty meshes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinevez committed Sep 11, 2023
1 parent c69c57f commit 14884de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/fiji/plugin/trackmate/io/TmXmlReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ private SpotCollection getSpots( final Element modelElement )
spots.remove( spot );
spots.add( spotMesh );
}
catch ( final IOException e )
catch ( final Exception e )
{
ok = false;
logger.error( "Problem reading mesh for spot " + id + ":\n"
Expand Down

0 comments on commit 14884de

Please sign in to comment.