Bibarchive: Error handling re-applied

* Error handling has been added back into code