check_result only raises exception for some errors.

Other errors are just logged. Need more experience of error conditions
to decide if any others should also cause exceptions.