Commit e8e6765
fix(digest): return 400 when EMAIL delivery is requested
IllegalArgumentException from the prefs controller used to become a 500
with no message. Map it to a 400 so the UI can show that email delivery
is not available yet.
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>1 parent adeec4f commit e8e6765
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
284 | 289 | | |
0 commit comments