Fixed bug in handling multiple exceptions
Fixed bug in handling multiple exceptions

SirCaptainMitch/dbatools,sqlpadawan/dbatools,dsolodow/dbatools,Splaxi/dbatools,kozloski/dbatools,alevyinroc/dbatools,wsmelton/dbatools