We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 317584d commit b2a3654Copy full SHA for b2a3654
1 file changed
scijava-ops-engine/src/main/java/org/scijava/ops/engine/matcher/impl/DefaultOpMatcher.java
@@ -80,14 +80,8 @@ private OpMatchingException agglomeratedException( //
80
final OpEnvironment env //
81
) {
82
// Develop help message
83
- var msg = "No match found!";
84
- try {
85
- // TODO: Remove try/catch.
86
- msg += " Perhaps you meant: \n" + env.help(request);
87
- } catch (StackOverflowError e) {
88
- // No-op
89
- }
90
- OpMatchingException agglomerated = new OpMatchingException(msg);
+ var msg = "No match found! Perhaps you meant: \n" + env.help(request);
+ OpMatchingException agglomerated = new OpMatchingException(msg);
91
list.forEach(agglomerated::addSuppressed);
92
return agglomerated;
93
}
0 commit comments