Add input validation and error handling to your LoRA implementation, then test one failure case.
Run your code to see output here...