~bigbes/core-go

038ec76d56ff8991c69c807b8a5d8f68933c5bba — Pinghao Wu 1 year, 5 months ago c3d1199
server/email: print correct var on type assertion failure
1 files changed, 1 insertions(+), 1 deletions(-)

M server/email.go
M server/email.go => server/email.go +1 -1
@@ 23,7 23,7 @@ import (
func EmailRecover(ctx context.Context, _origErr interface{}) error {
	origErr, ok := _origErr.(error)
	if !ok {
		log.Printf("Unexpected error in recover: %v\n", origErr)
		log.Printf("Unexpected error in recover: %v\n", _origErr)
		return fmt.Errorf("internal system error")
	}