diff --git a/src/fmu/sumo/uploader/_sumofile.py b/src/fmu/sumo/uploader/_sumofile.py index 843d9eb..9bdb98f 100644 --- a/src/fmu/sumo/uploader/_sumofile.py +++ b/src/fmu/sumo/uploader/_sumofile.py @@ -274,7 +274,7 @@ def upload_to_sumo(self, sumo_parent_id, sumo_connection): upload_response.update( { "status": "failed", - "status_code": 500, + "status_code": err.response.status_code, "text": str(err), "blob_upload_response_status_code": err.response.status_code, "blob_upload_response_text": err.response.reason_phrase,