TP-5555 | ignore pattern module

This commit is contained in:
varnit goyal
2024-11-19 11:10:35 +05:30
parent 697b105fe1
commit 383204605a
2 changed files with 20 additions and 0 deletions

View File

@@ -1,7 +1,14 @@
package constants
import "regexp"
const (
SESSION_HEADER_NAME = "x-session-token"
EMAIL_HEADER_NAME = "x-user-email"
ISSUE_ID_HEADER_NAME = "x-issue-id"
)
var IgnorePatterns = []*regexp.Regexp{
regexp.MustCompile(`\[mobx-state-tree\]`),
regexp.MustCompile(`Object captured as exception with keys: code, message`),
}