twitter icon indicating copy to clipboard operation
twitter copied to clipboard

client: pass up error message for unknown error

Open adamvy opened this issue 7 months ago • 3 comments

adamvy avatar Jun 16 '25 16:06 adamvy

Unknown errors intentionally exclude the error as it can be absolutely anything. Some other bridges put it in info -> go_error in case it's needed for metrics/logs/etc, but message is meant for things that are shown to users directly

tulir avatar Jun 16 '25 16:06 tulir

(the error is already logged above the if)

tulir avatar Jun 16 '25 16:06 tulir

I guess, UNKNOWN_ERRORs should be minimized anyways, I kind of would prefer an unhelpful error message over nothing but i've put it in go_error fo rnow

adamvy avatar Jun 16 '25 16:06 adamvy