Skip to content

Commit

Permalink
catch and continue testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jun 21, 2024
1 parent 843d268 commit 565548a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/testMavenMappings.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="data-provider-inte
var mavenMatcher = new update.services.legacy.MavenMatcher();
for (var mapping in mappings ){
systemOutput( "checking #mapping.toJson()#", true );
meta = mavenMatcher.getMatch( mapping, "latest" );
systemOutput( meta.toJson(), true );
try {
meta = mavenMatcher.getMatch( mapping, "latest" );
systemOutput( meta.toJson(), true );
} catch( e ) {
systemOutput( chr( 9 ) & e.message, true );
}
}
});

Expand Down

0 comments on commit 565548a

Please sign in to comment.