Fixes database error handling in get_schema to not throw error