error handling on db creation, broadcast, and message dispatching