Log more info on errors