test: log errors in test-http2-propagate-session-destroy-code
Seen this test error a few times on a CI (i.e. https://ci.nodejs.org/job/node-test-binary-windows-js-suites/617/RUN_SUBSET=0,nodes=win10-COMPILED_BY-vs2019/testReport/junit/(root)/test/parallel_test_http2_propagate_session_destroy_code/). Add a bit of context to errors.
I suspect this is ECONNRESET
we are getting there as this same test failed on windows with it while I was working on the #30854. If the timings are unlucky the socket would close without ever sending the destroy code. That PR would hopefully fix the error but the logs would be good anyway.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines