Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/astaxie/beego into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
astaxie committed Sep 2, 2014
2 parents 41adcf9 + e6b42a4 commit 0692f92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions router.go
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,8 @@ func (p *ControllerRegistor) recoverPanic(rw http.ResponseWriter, r *http.Reques
if !ok {
break
}
Critical(file, line)
stack = stack + fmt.Sprintln(file, line)
Critical(fmt.Sprintf("%s:%d", file, line))
stack = stack + fmt.Sprintln(fmt.Sprintf("%s:%d", file, line))
}
middleware.ShowErr(err, rw, r, stack)
}
Expand All @@ -840,7 +840,7 @@ func (p *ControllerRegistor) recoverPanic(rw http.ResponseWriter, r *http.Reques
if !ok {
break
}
Critical(file, line)
Critical(fmt.Sprintf("%s:%d", file, line))
}
}
}
Expand Down

0 comments on commit 0692f92

Please sign in to comment.