Still covered by warranty? Usually warranties demand the owner mitigate further damage, such as switching off the breaker controlling that circuit, which I assume you've already done.
Take pictures of the damage and document everything prior to making any repairs. This is usually recognized by the manufacturer for warranty claims, even after repairs are completed.
I agree with Rodney, loose connections are the most common cause of electrical fires.
__________________
2000 Winnebago Ultimate Freedom USQ40JD
, ISC 8.3 Cummins 350, Spartan MM Chassis. USA IN 1SG 11B5MX,Infantry retired;Good Sam Life member,FMCA.
" My fellow Americans, ask not what your country can do for you, ask what you can do for your country. John F. Kennedy