Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit a65f97f

Browse files
committed
Adding logging to unknown error case
1 parent bffcba8 commit a65f97f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CodePush.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ function sync(options = {}, syncStatusChangeCallback, downloadProgressCallback)
294294
})
295295
.catch((error) => {
296296
syncStatusChangeCallback(CodePush.SyncStatus.UNKNOWN_ERROR);
297+
log(error.message);
297298
reject(error);
298299
})
299300
.done();

0 commit comments

Comments
 (0)