Failure of a related class

Hello folks. I am an EU guy and I want to apply for the EU schools only. In this exchange semester of mine I failed my Econometrics class, basically due to too much partying. But at the same time I succesfully passed other exchange semester classes such as "Introduction to Time Series Analysis" and "Advanced Behavioral Finance" also I got A at my other statistical classes. I am not a D/C guy but B+/A- guy. My GPA is 3.57/4. How would this failure affect my chances to accepted into any masters in Europe? All the doors are closed for Zurich or EPFL?