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