mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-23 15:37:01 +00:00
trace: Remove unused SetError function
This commit is contained in:
@@ -40,10 +40,6 @@ func (t *Trace) Debugf(format string, a ...interface{}) {
|
||||
t.family, t.title, quote(fmt.Sprintf(format, a...)))
|
||||
}
|
||||
|
||||
func (t *Trace) SetError() {
|
||||
t.t.SetError()
|
||||
}
|
||||
|
||||
func (t *Trace) Errorf(format string, a ...interface{}) error {
|
||||
// Note we can't just call t.Error here, as it breaks caller logging.
|
||||
err := fmt.Errorf(format, a...)
|
||||
|
||||
Reference in New Issue
Block a user