print selectionSize

Signed-off-by: m.malygina <m.malygina@yadro.com>
m.malygina 2024-06-19 10:48:51 +03:00
parent 457ac53267
commit f5fd1ca93e
1 changed files with 2 additions and 1 deletions

View File

@ -182,7 +182,7 @@ export function obj_read() {
}
const resp = s3_client.get(obj.s3_bucket, obj.s3_key)
if (!resp.success) {
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key})
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, op : 'READ'})
.error(resp.error);
}
return
@ -210,6 +210,7 @@ export function obj_delete() {
}
const resp = s3_client.delete(obj.s3_bucket, obj.s3_key);
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, op : 'DELETE'}).error(resp.error);
if (!resp.success) {
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, op : 'DELETE'})
.error(resp.error);