log errors in creat_collection