Log errors in case of database creation failure