Project

General

Profile

Bug #6685

Incorrect exception handler when processing HTTP response

Added by Robert Illingworth over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
07/26/2014
Due date:
% Done:

100%

Estimated time:
0.50 h
Duration:

Description

python/fts/httputil.py has a couple of except json.JSONDecodeError, ex: handlers. I think this was correct when the JSON was done by the simplejson module, but the stdlib module raises ValueError instead, so any exception triggers 'module' object has no attribute 'JSONDecodeError', masking the actual problem.

History

#1 Updated by Robert Illingworth over 6 years ago

  • Status changed from New to Closed
  • Assignee set to Robert Illingworth
  • % Done changed from 0 to 100

Fixed by 64f1fce

Also available in: Atom PDF