Skip to content

Commit 7d52909

Browse files
committed
chore(mu): add hb upload log
1 parent d6f28c8 commit 7d52909

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

servers/mu/src/domain/clients/uploader.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ function uploadDataItemWith ({ UPLOADER_URL, fetch, histogram, logger, HB_GRAPHQ
4949
},
5050
body
5151
})
52-
.then(() => res)
52+
.then((HBRes) => {
53+
logger.tap({ log: 'Successfully forwarded DataItem to HB uploader' })(HBRes)
54+
return res
55+
})
5356
.catch((err) => {
5457
logger.tap({ log: 'Error while communicating with HB uploader:' })(err)
5558
return res

0 commit comments

Comments
 (0)