Using completed path in error emails
1 files changed, 1 insertions(+), 1 deletions(-) M server/server.go
M server/server.go => server/server.go +1 -1
@@ 159,7 159,7 @@ The following stack trace was produced: msg := carrier.NewMessage(). SetTo(s.Config.AdminEmail). SetFrom(s.Config.DefaultFromEmail) msg.SetSubject(fmt.Sprintf("[gobwebs]: Internal Server Error: %s", c.Path())) msg.SetSubject(fmt.Sprintf("[gobwebs]: Internal Server Error: %s", c.Request().URL.Path)) msg.SetBody(emsg) if rerr := s.Email.SendMail(msg); rerr != nil { s.e.Logger.Printf("Unable to send admin error email: %v", rerr)