added exceptions for database failing to load