mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
oops, lol
This commit is contained in:
parent
c652b45627
commit
eef9b193f4
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ def shared_inbox():
|
||||||
activity_log = ActivityPubLog(direction='in', result='failure')
|
activity_log = ActivityPubLog(direction='in', result='failure')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
request_json = request.get_json(force=True, cache=False)
|
request_json = request.get_json(force=True)
|
||||||
except werkzeug.exceptions.BadRequest as e:
|
except werkzeug.exceptions.BadRequest as e:
|
||||||
activity_log.exception_message = 'Unable to parse json body: ' + e.description
|
activity_log.exception_message = 'Unable to parse json body: ' + e.description
|
||||||
activity_log.result = 'failure'
|
activity_log.result = 'failure'
|
||||||
|
|
Loading…
Add table
Reference in a new issue