Skip to content

Commit

Permalink
Merge pull request #4 from sprockets/workaround-raven-735
Browse files Browse the repository at this point in the history
Workaround raven defect
  • Loading branch information
gmr committed Feb 29, 2016
2 parents e90aad6 + e938f20 commit ad025bc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015 AWeber Communications
Copyright (c) 2015-2016 AWeber Communications
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
source_suffix = '.rst'
master_doc = 'index'
project = 'sprockets.mixins.sentry'
copyright = '2015, AWeber Communications'
copyright = '2016, AWeber Communications'
version = '.'.join(__version__.split('.')[0:1])
release = __version__
if len(version_info) > 3:
Expand Down
8 changes: 8 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ http://localhost:8000/whatever provided that *whatever* is not an integer.

Version History
---------------
* `1.0.0`_

- Work around `getsentry/raven-python#735`_

.. _getsentry/raven-python#735: https://github.com/getsentry/raven-python/issues/735

* `0.4.0`_ (16-Dec-2015)

- Ignore web.Finish exceptions
Expand Down Expand Up @@ -72,6 +78,8 @@ License
.. _0.2.0: https://github.com/sprockets/sprockets.mixins.sentry/compare/0.1.0...0.2.0
.. _0.3.0: https://github.com/sprockets/sprockets.mixins.sentry/compare/0.2.0...0.3.0
.. _0.4.0: https://github.com/sprockets/sprockets.mixins.sentry/compare/0.3.0...0.4.0
.. _1.0.0: https://github.com/sprockets/sprockets.mixins.sentry/compare/0.4.0...1.0.0
.. _Next Release: https://github.com/sprockets/sprockets.mixins.sentry/compare/1.0.0...HEAD

.. |Version| image:: https://badge.fury.io/py/sprockets.mixins.sentry.svg?
:target: http://badge.fury.io/py/sprockets.mixins.sentry
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ def read_requirements_file(req_name):

setuptools.setup(
name='sprockets.mixins.sentry',
version='0.4.0',
version='1.0.0',
description='A RequestHandler mixin for sending exceptions to Sentry',
long_description=codecs.open('README.rst', encoding='utf-8').read(),
url='https://github.com/sprockets/sprockets.mixins.sentry.git',
author='AWeber Communications',
author_email='api@aweber.com',
license='BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
Expand Down
4 changes: 2 additions & 2 deletions sprockets/mixins/sentry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
A RequestHandler mixin for sending exceptions to Sentry
"""
version_info = (0, 4, 0)
version_info = (1, 0, 0)
__version__ = '.'.join(str(v) for v in version_info)


Expand Down Expand Up @@ -105,7 +105,7 @@ def _handle_request_exception(self, e):

if self.sentry_tags:
kwargs.update({'tags': self.sentry_tags})
self.sentry_client.captureException(True, **kwargs)
self.sentry_client.captureException(**kwargs)

super(SentryMixin, self)._handle_request_exception(e)

Expand Down

0 comments on commit ad025bc

Please sign in to comment.