Skip to content

Commit 7a76881

Browse files
committed
chore: add notification data to logs
1 parent 92fc49b commit 7a76881

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/core/pushNotifications/pushNotificationSyncTask.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ if (ExpoTaskManager) {
4444
const config = await getPersistedConfig();
4545
const logger = createLogger(config?.debug ?? false);
4646

47-
logger.info('📲 Background task triggered');
47+
logger.info(
48+
'📲 Background sync task triggered',
49+
JSON.stringify(data, null, 2)
50+
);
4851

4952
if (error) {
5053
logger.error('❌ Background task error:', error);

0 commit comments

Comments
 (0)