lukevp / ESC-POS-.NET

Efficient, Easy to Use Thermal Printing & POS (Windows/Linux/OSX, WiFi/BT/USB/Ethernet)
MIT License
522 stars 171 forks source link

Added null check to string parameter on BaseEmitter Print method #195

Open igorocampos opened 1 year ago

igorocampos commented 1 year ago

Hi @lukevp, I was doing some additional unit tests and ran by this little thing here. I believe we want to be more specific on the exception when Print receives a null string.