@ccci/micro-server 1.0.200 → 1.0.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -303606,8 +303606,8 @@ class UploaderS3 {
|
|
|
303606
303606
|
}
|
|
303607
303607
|
static async deleteFile(bucketName, key) {
|
|
303608
303608
|
try {
|
|
303609
|
-
await UploaderS3.client.send(new import_client_s3.DeleteObjectCommand({ Bucket: bucketName, Key: key }));
|
|
303610
|
-
Logger.info(`deleted key : ${key}`);
|
|
303609
|
+
const data = await UploaderS3.client.send(new import_client_s3.DeleteObjectCommand({ Bucket: bucketName, Key: key }));
|
|
303610
|
+
Logger.info(`deleted key : ${key}, ${data}`);
|
|
303611
303611
|
} catch (error) {
|
|
303612
303612
|
Logger.error(error);
|
|
303613
303613
|
throw error;
|