Recently had a small crack appear on a 319 window. This small crack quickly resulted in a large bang. A minute or so later we got the ecam windshield fail caution.
Even though the window cracked before we received the ecam warning we think it was actually the windshield heat failing which resulted in the cracked windshield.
Ecam was apperantly playing catch up, just like it does with hot brakes etc.