Understanding the failure mechanisms of electrospun fibres