Skip to content

Commit 5bc3b2c

Browse files
committed
log the object as a single stringified line for easier parsing
1 parent b962de5 commit 5bc3b2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

logbook/client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ export function GetLogbookClient(baseUrl: string, token: string) {
9797
const formattedSplits: LogbookSplit[] = [];
9898
const formattedIntervals: LogbookInterval[] = [];
9999

100+
try {
101+
console.log(JSON.stringify(data));
102+
} catch (e) {
103+
console.log("failed to stringify result");
104+
console.log(e);
105+
}
100106
console.dir(data, {depth: null});
101107

102108
if (rawWorkout?.splits) {

0 commit comments

Comments
 (0)