Under a general contractor agreement you direct defect claims against the general contractor.
If you have commissioned a general contractor with the entire works, it is your sole contractual partner. You direct defect claims from warranty and damages against it, even where the fault actually comes from a subcontractor. Under sec. 1313a ABGB the general contractor is liable for its auxiliaries as for its own conduct.
You have no direct claim against the subcontractor out of the general contractor agreement. Have it assessed whether repair, price reduction or damages is the right path and how to give notice of the defects in good time and with secured evidence.