Hello, I am sorry to hear about you failing this module. I am a third year student at the university of Portsmouth (though the term is currently over so not for very long). I was in a similar position with two of my main modules on my second year. I was allowed to resit them and ultimately pass, but what really helped me to ultimately succeed is talking to the university support services. This was their general student support and I kept in regular contact with my first and second year tutor about my worries.
I am not familiar with how the academic system works at the university of Bristol, but I will assume that you had a faculty member that you kept in regular contact with over the years you spent studying. Any concerns that you have with failing the module I would email them about, and if not, I would talk to any student support that your university may have, or to the faculty that ran the module.
If I were you, I would mostly just copy and paste that first paragraph of your post into an email to the faculty (especially the faculty that ran the module), as they would be the best informed. If you do end up resitting the module, I wish you the best of luck. You got this!