Skip to content

Commit f423612

Browse files
committed
fix(Runtime): improve error logging in update checker
1 parent 890dbe8 commit f423612

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CodePush.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ async function checkForUpdate(deploymentKey = null, handleBinaryVersionMismatchC
131131
return mapToRemotePackageMetadata(updateInfo, config.deploymentKey);
132132
}
133133
} catch (error) {
134-
log(`An error has occurred at update checker :`, error);
134+
log(`An error has occurred at update checker :`);
135+
console.error(error)
135136
// update will not happen
136137
return undefined;
137138
}

0 commit comments

Comments
 (0)