Remove testing log output
This commit is contained in:
parent
4eb071f72c
commit
758df510e3
@ -3,7 +3,6 @@ package errors
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -48,7 +47,6 @@ func E(args ...interface{}) error {
|
|||||||
case error:
|
case error:
|
||||||
e.Err = arg
|
e.Err = arg
|
||||||
default:
|
default:
|
||||||
log.Println(args)
|
|
||||||
return Errorf("unknown type %T with value %v in error call", arg, arg)
|
return Errorf("unknown type %T with value %v in error call", arg, arg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user