2
0

🚸 (sheets) Show info log instead of error when no rows are found

This commit is contained in:
Baptiste Arnaud
2023-06-15 14:42:20 +02:00
parent b89da5b30a
commit fbe63aa3f3
7 changed files with 32 additions and 13 deletions

View File

@@ -23,11 +23,14 @@ export const WebPreview = () => {
details: log.details
? {
lang: 'json',
content: JSON.stringify(log.details, null, 2),
content:
typeof log.details === 'string'
? log.details
: JSON.stringify(log.details, null, 2),
}
: undefined,
})
console.error(log)
if (log.status === 'error') console.error(log)
})
}