Skip to content

Commit f74c065

Browse files
author
ANDREW M. TRICE
committed
updated exception matching pattern to include exception AND error AND Failure matches
1 parent ce2488f commit f74c065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syntaxes/log.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<dict>
4444
<!-- Exception (with custom naming and namespacing) -->
4545
<key>match</key>
46-
<string>\b(?i:((([a-z]|[0-9])*\.)*[a-z]|[0-9])*Exception)\b</string>
46+
<string>\b(?i:((([a-z]|[0-9])*\.)*[a-z]|[0-9])*(Exception|Error|Failure|Fail))\b</string>
4747
<key>name</key>
4848
<string>error-token</string>
4949
</dict>

0 commit comments

Comments
 (0)