Correctly check and propagate errors in v2 session

Signed-off-by: Stephen J Day <stephen.day@docker.com>