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 12, 2023
1 parent 578c7e0 commit 9deec42
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 9deec42

Please sign in to comment.