File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/simcore-sdk/src/simcore_sdk/node_ports_common Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ async def complete_upload(
8282 state_url = _get_https_link_if_storage_secure (
8383 f"{ file_upload_complete_response .data .links .state } "
8484 )
85- _logger .info ("completed upload of %s" , f"{ len (parts )} parts, received { state_url } " )
85+ _logger .info (
86+ "required upload completion of %s" , f"{ len (parts )} parts, received { state_url } "
87+ )
8688
8789 async for attempt in AsyncRetrying (
8890 reraise = True ,
@@ -101,14 +103,14 @@ async def complete_upload(
101103 ).validate_python (await resp .json ())
102104 assert future_enveloped .data # nosec
103105 if future_enveloped .data .state == FileUploadCompleteState .NOK :
104- msg = "upload not ready yet"
106+ msg = "upload not ready yet (FileUploadCompleteState.NOK) "
105107 raise ValueError (msg )
106108 if is_directory :
107109 assert future_enveloped .data .e_tag is None # nosec
108110 return None
109111
110112 assert future_enveloped .data .e_tag # nosec
111- _logger .debug (
113+ _logger .info (
112114 "multipart upload completed in %s, received %s" ,
113115 attempt .retry_state .retry_object .statistics ,
114116 f"{ future_enveloped .data .e_tag = } " ,
You can’t perform that action at this time.
0 commit comments