mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-05 17:37:03 +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...)))
|
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 {
|
func (t *Trace) Errorf(format string, a ...interface{}) error {
|
||||||
// Note we can't just call t.Error here, as it breaks caller logging.
|
// Note we can't just call t.Error here, as it breaks caller logging.
|
||||||
err := fmt.Errorf(format, a...)
|
err := fmt.Errorf(format, a...)
|
||||||
|
|||||||
Reference in New Issue
Block a user