2
0

📝 (sheets) Add additional insights to debug sheets not showing

This commit is contained in:
Baptiste Arnaud
2024-01-17 14:56:38 +01:00
parent 8771def9a1
commit 36102876ce
2 changed files with 3 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
await sheet.loadHeaderRow()
} catch (err) {
if (err && typeof err === 'object' && 'message' in err)
console.log(err.message)
return
}
return {