[Hyperdrive] Issues with error handling in Worker examples #14474
Labels
bad-example
content:edit
Request for content edits
documentation
Documentation edits
product:hyperdrive
Hyperdrive: https://developers.cloudflare.com/hyperdrive/
Existing documentation URL(s)
What changes are you suggesting?
These examples attempt to
JSON.stringify
anError
, which will always result in{}
. They should instead doerror: e.message
.Additional information
No response
The text was updated successfully, but these errors were encountered: