contestada

What is the correct way to write the sentence using commas where needed. If it hadn't been for Rosas warning we would have been caught in a sudden torrential rainstorm during Saturday's picnic.