Handle more exceptions when reporting to Codespeed

Recently, I got issues here on one of the benchmark machines having various different exceptions occuring.

Signed-off-by: Stefan Marr <git@stefan-marr.de>