Fixing sdk crash in scenarios when exception code in unknown