Scanning an erronous QR code is silent

When scanning an incorrect QR code, a message should be written saying that the QR code is not well formed. Instead of that, the QR code scanner is just closed silently.