Commit Graph

60 Commits

Author SHA1 Message Date
ToolMoney aea13d5a10 fix typo in errorhandling doc 2023-06-29 17:20:35 -07:00
David Lord 31022056ae
remove broken link 2023-03-11 07:30:21 -08:00
LarsMoons e3c014f9aa
docs "Returning API Errors as JSON" return correct status code 2022-04-08 10:57:02 -07:00
octopoulpe d80f41f57d
Update errorhandling.rst 2022-03-22 10:29:00 +01:00
David Lord 64206c13c2
simplify InternalServerError.original_exception 2021-01-29 11:26:17 -08:00
David Lord 15a49e7297
Merge branch '1.1.x' 2020-11-04 18:25:37 -08:00
Henry Kobin fa5aebc842
updated Sentry link (#3788) 2020-10-11 19:15:19 -07:00
sblondon 7e312c421e
aesthetic: add a space after a comma (#3771) 2020-09-28 07:21:13 -07:00
girst de464c03e1
Correct Sentry advertisement (not Free Software) (#3758) 2020-09-15 09:20:10 -07:00
David Lord 89d1487b2e
rewrite debugging docs, move to separate page 2020-07-28 11:20:34 -07:00
David Lord d25ee22e34
reduce section on http status codes
formatting in sentry section
2020-07-28 11:07:02 -07:00
David Lord ba118b4543
adjust header levels and spacing
use code-block consistently
2020-07-28 10:46:22 -07:00
David Lord 2db3c9a72e
rewrite external debuggers section 2020-07-28 07:59:19 -07:00
David Lord 0db95259db
normalize sentence spacing 2020-07-28 07:57:24 -07:00
Ebonne Cabarrus 569c88d721
more changes to consolidated error handling docs 2020-07-24 09:25:07 -07:00
jackwardell 59b0b85835
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 171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
ongopongo 1d45539000
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 df470aecb9
use app.name as app.logger name 2019-07-01 14:56:18 -07:00
David Lord 54519ef028
document behavior of very generic error handlers 2019-06-21 08:22:35 -07:00
David Baumgold 6606a4a238 fix RST line too long 2019-05-06 11:11:32 -04:00
Oliver Bestwalter d8400d7cac
Fix typo in class name 2018-12-21 15:36:58 +01:00
Hsiaoming Yang d5665e4ba6
Merge pull request #2917 from garenchan/docs1
Docs: fix some errors in errorhandling.rst
2018-11-28 22:25:21 +09:00
Markus Unterwaditzer 339419117f
Fixes for sentry docs (#2991) 2018-11-07 21:04:10 +01:00
Adam Walsh 3bf80912cf 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 357b710af2 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 1cdfe0e5e9
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 66b1b752da
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 859d9a9d5c
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 bb0e755c80 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
Tery Lim ec9717502f Update errorhandling.rst (#2075)
Fix LogRecord class reference.
2016-11-01 21:04:20 -07:00
Tery Lim bbe58a4944 Update errorhandling.rst (#2074) 2016-11-01 19:58:22 -07:00
PHeanEX 96b6345c1a Fix small grammar error (Of/Or) (#2001) 2016-08-31 13:05:12 -07:00
Josh Soref 6e6c3a4636 Spelling (#1998)
* spelling: cacheability

* spelling: conceptually

* spelling: javascript

* spelling: reset

* spelling: raised

* comma: instead..., they...
2016-08-30 00:26:20 +02:00
avborhanian 5aa70b5a56 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 42b7ab3f49 Incorporated ThiefMaster's suggestions for docs 2016-05-27 00:17:58 +02:00
Armin Ronacher 3e651e795a Added sentry to docs 2016-05-26 22:57:12 +02:00
Armin Ronacher f9ea3fe026 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
ThiefMaster c5900a1adf s/1.0/0.11/ in versionadded/versionchanged markers
closes #1817
2016-05-23 14:43:23 +02:00
bagratte 9a80fe691d minor revision of documentation. 2016-04-01 23:12:25 +02:00
Prayag Verma 6c0496a1f3 Fix a typo
`interchangable` → `interchangeable`
2016-02-08 19:33:34 +05:30
Markus Unterwaditzer 73d89cccec Errorhandlers were NOT *added* in 1.0 2015-04-30 23:05:55 +02:00
Phil Schaf 290372faf1 some details 2015-04-11 18:08:04 +02:00
Phil Schaf 4437eb7ceb slimmed down error handling intro 2015-04-11 18:01:22 +02:00
Phil Schaf 9d3c4bbb8c Added docs for the error handler rework 2015-04-11 17:25:17 +02:00
Armin Ronacher 7c16054d81 Updated the logging documentation for recent changes. 2014-08-27 01:22:01 +02:00
Kyle P. Johnson 71b525e1fa 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