Do not panic when a regex doesn't compile
Show proper error message instead fix #58
This commit is contained in:
@ -76,6 +76,5 @@ func Fatalln(args ...any) {
|
||||
}
|
||||
|
||||
func Fatalf(format string, args ...any) {
|
||||
level := FATAL
|
||||
log.Fatalf(level.String()+format, args)
|
||||
log.Fatalf(FATAL.String()+format, args)
|
||||
}
|
||||
|
Reference in New Issue
Block a user