Reduce trace width increase thickness with solder
Solder is 6 to 10 times more resistive than copper, so that's not a particularly good idea, unless you are able to put on so much solder that surface tension causes a domed cross sectional profile of substantial thickness.

Can you keep the trace wide, except right in the area of the connector?

Can you have the board house use thicker copper than normal, or plate it up (many start with exceptionally thin copper and do that anyway to achieve a normal thickness)?

If you are doing a handmade prototype (implicitly without solder mask), you could always solder a piece of copper wire along the length of the trace.