hush more exceptions
This commit is contained in:
parent
8e02f6b1b4
commit
1e2210d324
1 changed files with 4 additions and 2 deletions
|
@ -569,8 +569,10 @@ def fetch_reply_context(entry, in_reply_to, now):
|
||||||
mf2py.parse(url=proxied_reply_url), in_reply_to)
|
mf2py.parse(url=proxied_reply_url), in_reply_to)
|
||||||
if parsed:
|
if parsed:
|
||||||
context = hentry_to_entry(parsed, None, False, now)
|
context = hentry_to_entry(parsed, None, False, now)
|
||||||
except requests.exceptions.SSLError:
|
except requests.exceptions.RequestException as err:
|
||||||
current_app.logger.warn('SSLError fetching: %s', proxied_reply_url)
|
current_app.logger.warn(
|
||||||
|
'%s fetching reply context: %s for entry: %s',
|
||||||
|
type(err).__name__, proxied_reply_url, entry.permalink)
|
||||||
|
|
||||||
if context:
|
if context:
|
||||||
db.session.add(context)
|
db.session.add(context)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue