Skip to content

Commit a10a21a

Browse files
committed
Enhance sync token message formatting by stringifying checkpoint data
1 parent 152090d commit a10a21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212

1313
// Index/Main application messages
1414
sync: {
15-
tokenFound: (checkpoint) => `Sync token found in the checkpoint file: ${checkpoint}`,
15+
tokenFound: (checkpoint) => `Sync token found in the checkpoint file: ${JSON.stringify(checkpoint)}`,
1616
usingToken: (token) => `Using sync token: ${token}`,
1717
startSuccess: () => `Boilerplate: Data sync started successfully.`,
1818
error: (error) => `An error occurred: ${error}`,

0 commit comments

Comments
 (0)