67ceaa1 Check if the response is JSON before accessing it

Authored and Committed by zlopez a year ago
    Check if the response is JSON before accessing it
    
    This will prevent JSONDecodeError
    
    Signed-off-by: Michal Konečný <mkonecny@redhat.com>
    
        
file modified
+1 -1