Skip to content
Myr

Change to hardcoding exception contents to support Python3 json loading exception format

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Keyan Pishdadian · committed by Keyan Pishdadian · parent d6a1307 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/wrappers.py+1 added-1 removed
175 unmodified lines
176 """177 ctx = _request_ctx_stack.top178 if ctx is not None:179 if ctx.app.config.get('DEBUG', False):180 raise BadRequest(e)180 raise BadRequest('No JSON object could be decoded')181 raise BadRequest()182183 def _load_form_data(self):184 RequestBase._load_form_data(self)
20 unmodified lines