Gracefully handling coverage exceptions

Fixes #6 #10