[JENKINS-20074] When displaying an uncaught exception, if we are unable to write the content, just do nothing.
[FIXED JENKINS-20074] Do not report irrelevant exceptions thrown in the process of reporting a (possibly relevant) exception.
Merge branch 'uncaught-socket-exceptions-JENKINS-20074'

Conflicts:
	core/pom.xml