For this question, it really just depends on kind of the nature of the situation. The task at hand is always the most important, in my opinion. I do enjoy, like, making sure that the task is 100% done all the time, but if you don't have a good relationship with the people that you're working on said task, then the task will be even longer. So honestly, I think these two go hand in hand. If you have a good relationship with your team and you're working towards the same goal, you should be able to work diligently on your task. Now, it is important to focus on keeping a good relationship, but it is also important to overcome having bad relationships so that even if you are having a hard time, you can still focus on the task at hand and get the task done with not much issue.