I think, to be a good leader you need to keep up your confidence level, and assure everyone that setbacks are natural and the important thing is to focus on the larger goal. As the leader, by staying calm and confident, you will help keep the team feeling the same. Remember, your team will take cues from you, so if you exude a level of calm damage control, your team will pick up on that feeling. The key objective is to keep everyone working and moving ahead. You also need to give youre member a good relationship.
My defination of being a good leader is able to understand the subordinates, motivate them at the right time. Everyone have their up and downs so choosing the right thing to do at the right time is a very important thing to do so as to ensure the effectiveness of the act. The leader must also set as a role model for the subrodinates to follow and look upon.