Commit 2124bfc7 authored by Dimitrios Gogos's avatar Dimitrios Gogos
Browse files

fix: fix error when deleting appInstance

parent 6f9c4fc6
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ def _safe_http_json_response(response):

    # Adapter returned HTTP response
    try:        
        if not response.content:
            return {}, response.status_code
        return response.json(), response.status_code
    except Exception as e:
        logger.exception("Failed to parse adapter HTTP response")