Commit 41e617c
committed
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.
(cherry picked from commit 058064c)1 parent 7429acb commit 41e617c
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 | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| 674 | + | |
674 | 675 | | |
675 | 676 | | |
676 | 677 | | |
677 | 678 | | |
678 | 679 | | |
679 | | - | |
| 680 | + | |
680 | 681 | | |
681 | 682 | | |
682 | 683 | | |
683 | | - | |
684 | | - | |
| 684 | + | |
| 685 | + | |
685 | 686 | | |
686 | | - | |
| 687 | + | |
687 | 688 | | |
688 | 689 | | |
689 | 690 | | |
| |||
0 commit comments