1.add try catch for QRCodeEncoder