Default error handler now report relevant exceptions (#11599)

Change-Id: Ia2ff7a5ccc24f183f0345149678ced0e76818380