Return more verbose message in case get_cocycle_from_elliptic_curve fails.