Commit Graph

18 Commits

Author SHA1 Message Date
Justin Israel 37854ee10f Fix panic stack trace being printed during recovery of broken pipe (#1089) (#1259) 2018-11-06 13:40:20 +08:00
Dustin Decker ad53619b15 Don't log requests (#1370)
Fixes #1331

HTTP logging leaks sensitive request information.

This PR removes HTTP request logging during panics.
2018-09-23 15:15:23 +08:00
田欧 6c6d97ba2e remove hardcode instead of http status value (#1411) 2018-06-26 17:21:32 +08:00
hellojukay 65a65c2edd add gin panic time log (#1270)
* add gin pinic time log

* Update recovery.go
2018-03-20 14:42:51 +08:00
Eason Lin 848fa41ca0 doc(recovery): add RecoveryWithWriter doc (#1097) 2017-09-05 09:17:53 +08:00
Edward Betts ab50cf9790 correct spelling mistake (#1092) 2017-09-01 22:02:25 +08:00
田欧 a8fa424ae5 update comment (#1057) 2017-08-16 11:55:50 +08:00
Manu Mtz.-Almeida 61fae4997d Improves documentation 2016-01-26 22:40:29 +01:00
Manu Mtz.-Almeida 1183c1ca8f Fixed recovery unit tests 2016-01-26 19:28:41 +01:00
Manu Mtz.-Almeida 7afb3238a3 Improves Recovery middleware:
- request context
- red colouring
2016-01-26 18:35:56 +01:00
Manu Mtz-Almeida 9ecb76ef6e Cosmetic changes 2015-05-18 20:50:46 +02:00
Manu Mtz-Almeida 99694bb716 Fixes errors 2015-05-12 15:22:13 +02:00
Manu Mtz-Almeida 54b3decc21 More unit tests 2015-04-08 13:30:17 +02:00
Christopher Harrington 6bd27d0238 Remove reference to Martini from recovery.go 2015-02-14 21:55:39 -06:00
Manu Mtz-Almeida 8e5397bfa0 Adds in-code license 2014-08-29 19:49:50 +02:00
Manu Mtz-Almeida fa80b047f9 The Recovery() middleware should not print the errors (only panics) 2014-07-04 04:32:43 +02:00
Manu Mtz-Almeida f72fcdf5ba Improves error log formatting 2014-07-02 02:31:11 +02:00
Manu Mtz-Almeida 15216a0883 Initial commit 2014-06-18 01:42:34 +02:00