Skip to content

Commit

Permalink
Merge pull request #1803 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
pebble Errorf added
  • Loading branch information
ucwong authored Nov 14, 2023
2 parents 41cadd1 + ce2c5b3 commit 8861f0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ctxcdb/pebble/pebble.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ type panicLogger struct{}
func (l panicLogger) Infof(format string, args ...interface{}) {
}

func (l panicLogger) Errorf(format string, args ...interface{}) {
}

func (l panicLogger) Fatalf(format string, args ...interface{}) {
panic(errors.Errorf("fatal: "+format, args...))
}
Expand Down

0 comments on commit 8861f0c

Please sign in to comment.