Skip to content

Commit

Permalink
Update ReHintPair.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaaa committed Sep 6, 2023
1 parent c96ba4b commit 4394945
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import java.util.Optional;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;

import com.espressif.idf.core.logging.Logger;

Expand All @@ -25,7 +26,7 @@ public ReHintPair(String re, String hint)
{
this.re = Pattern.compile(re);
}
catch (Exception e)
catch (PatternSyntaxException e)
{
Logger.log(e);
}
Expand Down

0 comments on commit 4394945

Please sign in to comment.