go out of (one's) way (to do something)
1. Literally, to travel somewhere by an indirect or circuitous route. Are you sure you want to go out of your way to deliver this package? Doing so will add 20 minutes onto our drive.
2. To make more effort than is required or expected (to help or benefit someone else). You need to thank Monica—she really went out of her way to get you this job interview. I'd appreciate your help with that if you can get to it, but don't go out of your way.