Weird DOMException errors when testing worker with `--remote`
This happens when a worker is running on CF, via the
--remote
flag, and I make a change to my code. The error appears without me making a request to my worker - it appears immediately after I save the file with my changes. It doesn't always happen, and there seems to be no pattern about the sort of code changes that trigger it.
The error message itself is unhelpful. Anyone know what's up here?
Thank you.2 Replies
Does the same code in local mode provide a more helpful error or is there some reason you cant use local mode?
I can't use local. For some reason when I do I get a PG error
no pg_hba.conf entry for host <ip> ...
, even though the DB is publicly-accessible. When I use --remote
, it connects to the DB fine. Is it worth raising this as a Hyperdrive/Wrangler bug?