Adds thread info to relevant exception messages