next-connect icon indicating copy to clipboard operation
next-connect copied to clipboard

default value of options.onError

Open thilllon opened this issue 3 years ago • 1 comments
trafficstars

It is not an issue, but kind of a question. The official docs highly recommends setting onError options, but users who don't read it carefully seem to miss it easily. Is there any reason that this option is not set as default?

image

thilllon avatar Oct 19 '22 13:10 thilllon

This seems to be a problem with the v1 branch - setting a default onError is no longer really possible, because it has to be set in the final .handler(...) call.

jameshfisher avatar Nov 21 '22 20:11 jameshfisher