0.3.13.5
This commit is contained in:
parent
8af8dab6db
commit
d89e1bc6d4
5 changed files with 10 additions and 6 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 0.3.13.5
|
||||
|
||||
- Set response keyword argument
|
||||
|
||||
## 0.3.13.4
|
||||
|
||||
- Fix import error
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "newsreader",
|
||||
"version": "0.3.13.4",
|
||||
"version": "0.3.13.5",
|
||||
"description": "Application for viewing RSS feeds",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "newsreader"
|
||||
version = "0.3.13.4"
|
||||
version = "0.3.13.5"
|
||||
description = "Webapplication for reading RSS feeds"
|
||||
authors = ["Sonny <sonnyba871@gmail.com>"]
|
||||
license = "GPL-3.0"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,9 @@ class ResponseHandler:
|
|||
stream_exception = StreamException
|
||||
|
||||
message = getattr(exception, "message", str(exception))
|
||||
raise stream_exception(exception.response, message=message) from exception
|
||||
raise stream_exception(
|
||||
response=exception.response, message=message
|
||||
) from exception
|
||||
|
||||
def __exit__(self, *args, **kwargs):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -242,9 +242,7 @@ class TwitterClient(PostClient):
|
|||
import sentry_sdk
|
||||
|
||||
with sentry_sdk.push_scope() as scope:
|
||||
if e.response:
|
||||
scope.set_extra("content", e.response.content)
|
||||
|
||||
sentry_sdk.capture_message(
|
||||
"Twitter authentication credentials reset"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue