Armin Ronacher
dfd81a538c
More info into the exception info key
2016-01-27 19:22:55 -08:00
Armin Ronacher
d77dec802d
Improved error key
2016-01-27 15:28:21 -08:00
Armin Ronacher
27cc40e6d5
Remember exceptions that are logged and filter out duplicates.
...
This fixes #724
2016-01-27 15:03:21 -08:00
David Cramer
f83aedbdeb
Enforce raven.events import at runtime
2016-01-22 13:31:15 -08:00
Armin Ronacher
97e93ea7ba
Strip six module and rename to raven._compat
...
We're seeing some odd issues with our six module interacting
badly with the six module from other libraries for some users.
The suspicion is that our six module in some cases gets unvendored.
We thus rename it to `raven._compat` (which is also what some
other Python modules do). We still use six normally for the
tests.
2016-01-12 21:40:51 +01:00
David Cramer
c4b96d74c3
Add environment support
2015-12-10 12:06:54 -08:00
Anton Blintsov
9db4e7aba9
Modify client.capture_exceptions to return both decorator and context manager
2015-11-21 17:47:20 +03:00
David Cramer
8038eff323
Add support for in_app on exception frames
2015-10-19 15:04:58 -07:00
David Cramer
2e43aa7091
Support HEROKU_SLUG_COMMIT for default release
2015-10-16 11:49:29 -07:00
Petri Lehtinen
31f22e8b41
Client.capture(): tags should be a dict
2015-09-18 09:05:01 +03:00
David Cramer
6d0d0d5de0
Correct fingerprint behavior
2015-08-26 11:51:06 -07:00
David Cramer
a76101f1fe
Dont base64-encode bodies
...
- Send deflate content-encoding
2015-08-26 11:47:13 -07:00
David Cramer
9e4046f04d
Kill various legacy settings
2015-07-15 23:09:15 -07:00
David Cramer
8d41f49362
prioritze our exception hook
2015-07-15 23:03:25 -07:00
David Cramer
058def47a4
Support for custom exception hook fallbacks
2015-07-15 22:51:00 -07:00
David Cramer
0ab984b8da
Capture errors via sys.excepthook
2015-07-15 22:42:34 -07:00
David Cramer
8c89e45a68
Return event ID as result of capture
2015-06-28 12:58:53 -07:00
Alexander Dutton
50736acde5
Fix typo ("responed" → "responded")
2015-06-10 09:32:41 +01:00
David Cramer
12bb737707
Refactor DSN and transport configuration
...
Passing a transport via a scheme prefix is now deprecated in favor of explicit class loading:
>>> Client(dsn, transport=HttpTransport)
Additionally DSN-related configuration is now held in the RemoteConfig helper, which is bound on Client.remote.
Fixes GH-587
2015-05-21 17:25:24 -07:00
David Cramer
8d4eae42ef
Correct format usage for Py2.6
2015-04-30 13:35:14 -07:00
David Cramer
304ddbb681
Correct Python 2.6 support
2015-04-30 12:57:14 -07:00
David Cramer
b149369889
Improve failure handling and logging
2015-04-29 17:42:20 -07:00
David Cramer
6d85f0981c
Add python version to packages (fixes GH-602)
2015-04-23 15:31:55 -07:00
David Cramer
95c704f127
Remove deprecated manual configuration for remotes
2015-03-29 12:00:41 -07:00
David Cramer
1deda056ce
Remove Sentry integrated client
2015-03-29 11:37:51 -07:00
Xavier Ordoquy
6b4a8d2422
Fix flake8 errors.
2015-02-26 22:46:29 +01:00
David Cramer
857aebffd2
Bump to protocol version 6
2015-01-09 15:10:53 -06:00
David Cramer
332e05a862
Add release parameter (early adoption)
2014-12-04 17:28:28 -08:00
Xavier Ordoquy
bf4526a07f
Update the capture documentation.
2014-11-02 01:36:13 +01:00
Xavier Ordoquy
9888731232
Fix #365
2014-11-02 00:41:21 +01:00
Germán M. Bravo
f6f07da86f
Client method to switch the transport dsn
...
This pull request adds `Client.set_dsn()` to be able to switch the client's transport when needed.
An example for this would be in a middleware where the Sentry server needs to be changed depending on the current site object.
2014-10-21 18:57:36 -05:00
Jayson Reis
cd1aed2691
Change Unable to capture event message
...
When you get a RateLimited is a bit difficult to know what happend because log will only say "Unable to capture event: None" because message on RateLimited does not exists.
2014-10-16 10:59:02 -03:00
David Cramer
546ac39844
Dont automatically log stacks for exceptions
...
Fixes GH-413, GH-477
2014-08-06 23:57:49 -07:00
David Cramer
683acffedc
Bump protocol version to explicit 5
2014-05-28 21:53:53 -07:00
David Cramer
b9bd240a79
Merge branch 'raise_send_errors' of https://github.com/richg/raven-python into richg-raise_send_errors
...
Conflicts:
raven/base.py
raven/contrib/django/client.py
raven/handlers/logbook.py
raven/handlers/logging.py
tests/handlers/logging/tests.py
2014-05-22 00:25:46 -07:00
David Cramer
39c65bf8b5
Update interfaces to use protocol 5/aliases
2014-05-20 12:02:18 -07:00
Alex Gaynor
c0dedcd29d
Fixed several typos
2014-05-10 11:14:16 -07:00
Marius Gedminas
339319da1f
Fix Client.get_ident() example in docstring
...
raven.base.Client doesn't have a `process()` method.
2014-04-16 19:29:20 +03:00
Matt Robenolt
6db3d8dffb
Turns out, rate limiting is it's own exception
2014-04-14 22:21:52 -07:00
Matt Robenolt
31b87f5864
Support server sending back Retry-After header for rate limiting
2014-04-13 16:38:05 -04:00
Matt Robenolt
37aaf0862e
bare except
2014-04-13 02:33:47 -04:00
David Cramer
4b758cbf70
Improve behavior when API returns valid errors
2014-03-31 21:11:29 -07:00
Pr0Ger
6ecb5b3cba
Removed unused assignment
2014-03-30 15:16:24 +04:00
David Cramer
b148760f90
Merge pull request #432 from andor44/decorator
...
Decorator for captureException
2014-03-28 16:29:46 -07:00
Daniel Hahler
bec749b199
Fix client.capture to use message from kwargs
...
Ref: https://github.com/getsentry/sentry/issues/1153
2014-03-19 09:10:32 +01:00
Andor Uhlár
9247cea3e6
Add capture_exceptions decorator.
...
This decorator wraps functions in a try/except block, calling captureException
if it fails, then reraising it.
2014-03-18 16:55:34 +01:00
David Cramer
092e087d42
Merge branch 'master' into cap-number-of-frames
...
Conflicts:
raven/base.py
raven/events.py
raven/utils/stacks.py
2014-03-12 02:41:13 -07:00
David Cramer
ddcc79e7e6
Explicitly pass capture_locals to get_stack_info
2014-03-12 02:39:24 -07:00
Anton Ilyushenkov
db73ef5fe7
\#426 stacks_without_locals renamed to capture_locals
2014-03-11 13:38:53 +04:00
Anton Ilyushenkov
1cf44a0624
[issues/417] #417 stacks_without_locals Client option
2014-03-07 20:24:22 +04:00