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") }