when session.save error should return error

1