Commit graph

56 commits

Author SHA1 Message Date
David Lord
6d3a0c9a36 simplify InternalServerError.original_exception 2021-01-29 11:26:17 -08:00
David Lord
d81e5f8b6c Merge branch '1.1.x' 2020-11-04 18:25:37 -08:00
Henry Kobin
426d0e4e9a updated Sentry link (#3788) 2020-10-11 19:15:19 -07:00
sblondon
b5859ea9eb aesthetic: add a space after a comma (#3771) 2020-09-28 07:21:13 -07:00
girst
511649e747 Correct Sentry advertisement (not Free Software) (#3758) 2020-09-15 09:20:10 -07:00
David Lord
6a152a111c rewrite debugging docs, move to separate page 2020-07-28 11:20:34 -07:00
David Lord
998ef2208c reduce section on http status codes
formatting in sentry section
2020-07-28 11:07:02 -07:00
David Lord
018e1060af adjust header levels and spacing
use code-block consistently
2020-07-28 10:46:22 -07:00
David Lord
7044235c78 rewrite external debuggers section 2020-07-28 07:59:19 -07:00
David Lord
28119de5ee normalize sentence spacing 2020-07-28 07:57:24 -07:00
Ebonne Cabarrus
13b0a37b5e more changes to consolidated error handling docs 2020-07-24 09:25:07 -07:00
jackwardell
79bd55cedf consolidate error handling docs
Remove apierrors.rst and errorpages.rst from patterns and integrate the
content into errorhandling.rst, along with other changes and extra
content.
2020-07-24 09:15:43 -07:00
David Lord
1de5873d66 remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
ongopongo
1952236085 Fix property name in description
Previously, the description referred to a property named `original_error`.
However, both the code sample that followed it _and_ the Werkzeug
documentation refer to it as `original_exception` instead.

In this commit, I change the description to use the same property name
as is used in the code sample and the Werkzeug documentation.

Here's a link to the Werkzeug documentation of that property:
- https://werkzeug.palletsprojects.com/en/1.0.x/exceptions/#werkzeug.exceptions.InternalServerError.original_exception
2020-02-28 12:09:51 -08:00
David Lord
ba1fcd1887 use app.name as app.logger name 2019-07-01 14:56:18 -07:00
David Lord
08404e8cd0 document behavior of very generic error handlers 2019-06-21 08:22:35 -07:00
David Baumgold
3b6d1ecd24 fix RST line too long 2019-05-06 11:11:32 -04:00
Oliver Bestwalter
76e848be6d Fix typo in class name 2018-12-21 15:36:58 +01:00
Hsiaoming Yang
b2285991e9 Merge pull request #2917 from garenchan/docs1
Docs: fix some errors in errorhandling.rst
2018-11-28 22:25:21 +09:00
Markus Unterwaditzer
21704f22cb Fixes for sentry docs (#2991) 2018-11-07 21:04:10 +01:00
Adam Walsh
513bbc06d0 Update sentry error handling documentation (#2990)
- Change examples to use the Sentry Python SDK: `sentry-sdk`
- Removed the app factory pattern example
- Added a custom exception handling example
2018-11-07 20:25:52 +01:00
garenchan
d1b0d6c770 Fix docs errors
1.Grammar error: 'return' should be 'returns'; 'would is' should be
'would be'.
2.Reloader is used to reload and fork process if modules were changed
rather than when an exception occurred.
3.The sample code is not concise enough.
2018-09-21 13:05:06 +08:00
Andy Craze
8e37f3886d Fix sentry raven install docs
The documentation for installing Sentry's raven client was incorrect. It should state that the client must be installed with the extra flask dependencies as mentioned in getsentry/raven-python#1075
2017-12-14 19:45:09 -08:00
David Lord
9acb1d2412 simplify logging configuration
single default handler and formatter
don't remove handlers
configure level once using setLevel
document logging
reorganize logging tests
2017-07-31 12:49:03 -07:00
David Lord
35d32d265a show nice message when registering error handler for unknown code
clean up error handler docs
closes #1837
2017-05-31 18:04:08 -07:00
Jeff Widman
2ad2aadb88 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
Tery Lim
bbe09aba26 Update errorhandling.rst (#2075)
Fix LogRecord class reference.
2016-11-01 21:04:20 -07:00
Tery Lim
49613fe775 Update errorhandling.rst (#2074) 2016-11-01 19:58:22 -07:00
PHeanEX
d7c096eb35 Fix small grammar error (Of/Or) (#2001) 2016-08-31 13:05:12 -07:00
Josh Soref
0f2c793e14 Spelling (#1998)
* spelling: cacheability

* spelling: conceptually

* spelling: javascript

* spelling: reset

* spelling: raised

* comma: instead..., they...
2016-08-30 00:26:20 +02:00
avborhanian
cf0223b8a8 Updating url in errorhandling.rst to a valid link
Was originally set to github.com/getsentry/sentry, which was a relative link to a page that doesn't exist. I prepended https:// to fix this problem.
2016-06-06 11:29:14 -04:00
Armin Ronacher
9191d2d003 Incorporated ThiefMaster's suggestions for docs 2016-05-27 00:17:58 +02:00
Armin Ronacher
a2ce8f4c4a Added sentry to docs 2016-05-26 22:57:12 +02:00
Armin Ronacher
e3cdb453fd 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
ThiefMaster
e9e7e5e0c5 s/1.0/0.11/ in versionadded/versionchanged markers
closes #1817
2016-05-23 14:43:23 +02:00
bagratte
de4e0a553c minor revision of documentation. 2016-04-01 23:12:25 +02:00
Prayag Verma
fdf1d7e55f Fix a typo
`interchangable` → `interchangeable`
2016-02-08 19:33:34 +05:30
Markus Unterwaditzer
eb1efd5098 Errorhandlers were NOT *added* in 1.0 2015-04-30 23:05:55 +02:00
Phil Schaf
b138a27f30 some details 2015-04-11 18:08:04 +02:00
Phil Schaf
739c1e4e5e slimmed down error handling intro 2015-04-11 18:01:22 +02:00
Phil Schaf
55c0900452 Added docs for the error handler rework 2015-04-11 17:25:17 +02:00
Armin Ronacher
0ee70f6b64 Updated the logging documentation for recent changes. 2014-08-27 01:22:01 +02:00
Kyle P. Johnson
d8787127f0 typos 2014-08-14 16:16:58 -04:00
dmackinnon
231f45b432 Fix typo 2013-09-25 11:50:02 -04:00
Andrew Ash
fc7fe62846 Update docs/errorhandling.rst 2012-02-25 15:29:13 -05:00
Ron DuPlain
69e7a0a2a0 Move debugger details into a new section, #343. 2012-02-03 18:11:14 -05:00
Sam Anderson
da00160db6 Fixed some small typos in the documentation.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-13 21:14:06 -04:00
Armin Ronacher
38107c752c Fixed a wrong import path in the documentation. Fixes #102 2010-08-07 13:41:06 +02:00
Armin Ronacher
70dc2b66a0 Removed useless script reference. This fixes #87 2010-07-16 13:14:54 +02:00
Adam Zapletal
ee5eafa795 Error Handling documentation fixes (grammar, etc) 2010-06-28 15:12:33 +08:00