From 36fdb8190c063030d0820149bca5ab3ef0b3b005 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 19 Dec 2024 17:00:30 +0100 Subject: [PATCH] chore: stringify sync payload before putting it in the console This allow to have them displayed by playwright in the python console. Co-authored-by: David Larlet --- umap/static/umap/js/modules/sync/engine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/sync/engine.js b/umap/static/umap/js/modules/sync/engine.js index 651825ce..5441bd42 100644 --- a/umap/static/umap/js/modules/sync/engine.js +++ b/umap/static/umap/js/modules/sync/engine.js @@ -450,5 +450,5 @@ export class Operations { } function debug(...args) { - console.debug('SYNC ⇆', ...args) + console.debug('SYNC ⇆', ...args.map((x) => JSON.stringify(x))) }