Commit 058064c
authored
Only provide sanitized message to exception message. (#1646)
An office with invalid characters that caused the sanitizeOrNul method
to return null would cause the method to put the original exception
message into the details portion.
Modified invalid office and invalid unit builders to only provide the
sanitized, and if null simpler, messages to the generated exception.1 parent 255f74f commit 058064c
1 file changed
Lines changed: 5 additions & 4 deletions
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| 694 | + | |
694 | 695 | | |
695 | 696 | | |
696 | 697 | | |
697 | 698 | | |
698 | 699 | | |
699 | | - | |
| 700 | + | |
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
703 | | - | |
704 | | - | |
| 704 | + | |
| 705 | + | |
705 | 706 | | |
706 | | - | |
| 707 | + | |
707 | 708 | | |
708 | 709 | | |
709 | 710 | | |
| |||
0 commit comments