Add error handling for failed uploads

pull/1495/head
Bassem Dghaidi 4 months ago committed by GitHub
parent 2df79913f5
commit bf08ee6b81

@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
} }
return response; return response;
} }
catch (error) {
core.debug(`Error uploading cache archive: ${error}`);
throw error;
}
finally { finally {
uploadProgress.stopDisplayTimer(); uploadProgress.stopDisplayTimer();
} }

@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
} }
return response; return response;
} }
catch (error) {
core.debug(`Error uploading cache archive: ${error}`);
throw error;
}
finally { finally {
uploadProgress.stopDisplayTimer(); uploadProgress.stopDisplayTimer();
} }

@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
} }
return response; return response;
} }
catch (error) {
core.debug(`Error uploading cache archive: ${error}`);
throw error;
}
finally { finally {
uploadProgress.stopDisplayTimer(); uploadProgress.stopDisplayTimer();
} }

@ -9848,6 +9848,10 @@ function uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {
} }
return response; return response;
} }
catch (error) {
core.debug(`Error uploading cache archive: ${error}`);
throw error;
}
finally { finally {
uploadProgress.stopDisplayTimer(); uploadProgress.stopDisplayTimer();
} }

Loading…
Cancel
Save