The PSU is likely fine. A GTX 1050 has relatively low power requirements, and should only draw around 70 watts under load, and while I don't know what CPU you have, it likely won't use more than 100 watts. Add in another 50 watts or so to cover all your drives, fans and other components, and your entire system won't likely draw more than around 200 to 250 watts under full load. Even if your power supply were some cheap brand that could barely handle its rated capacity, your components won't likely need more than half that.