CA-130987: Forward any exceptions thrown inside _snapshot

Port of https://github.com/xapi-project/sm/pull/169 to master