I am accessing d1 within a durable

I am accessing d1 within a durable object alarm and getting some unknown error:
{
"message": [
"error with alarm",
"Error: D1_TYPE_ERROR"
],
"level": "error",
"timestamp": 1676407526663
}
{
"message": [
"error with alarm",
"Error: D1_TYPE_ERROR"
],
"level": "error",
"timestamp": 1676407526663
}
I do not get this when running locally, and this try/catch looks like:
} catch (error) {
console.error("error with alarm", error)
throw error
}
} catch (error) {
console.error("error with alarm", error)
throw error
}
And the log block exceptions is an empty array:
1 Reply
DanTheGoodman
DanTheGoodmanOP2y ago
Is there any way that I could find more detail in the error? cause shows "Error: Type 'undefined' not supported for value 'undefined'"
Want results from more Discord servers?
Add your server