Fixes #62 - catch errors on container instantiation