Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
fix(sync): log upload size error
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Jan 15, 2015
1 parent 4f69808 commit 34c31b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/syncer.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ proto.syncFile = function* (info) {
info.md5 = md5sum;
info.category = this.category;

logger.syncInfo('upload %s to nfs:%s with size:%d, sha1:%s, md5: %s',
logger.syncInfo('upload %s to nfs:%s with size:%s, sha1:%s, md5: %s',
args.key, info.url, bytes(info.size), info.sha1, info.md5);
} finally {
// remove tmp file whatever
Expand Down

0 comments on commit 34c31b4

Please sign in to comment.