Commit 5de7d75
committed
š fix(PathSerializer): handle InvalidPathException during path deserialization
- add try-catch block to catch InvalidPathException
- throw SerializationException with detailed message on failure1 parent 48c45d7 commit 5de7d75
1 file changed
Lines changed: 7 additions & 1 deletion
File tree
- surf-api-core/surf-api-core/src/main/kotlin/dev/slne/surf/api/core/config/serializer
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
0 commit comments