Added error handling on tags retrieval promise