Commit b85937b
committed
web: guard getExplorePageData against null QueueConfig
getQueueConfig returns null when the queue name is unknown.
Dereferencing it immediately caused an NPE that surfaced as an
HTTP 500 in the host app. Return a code=1 error response instead.
Assisted-By: Claude Code1 parent d4fb731 commit b85937b
1 file changed
Lines changed: 4 additions & 0 deletions
File tree
- rqueue-web/src/main/java/com/github/sonus21/rqueue/web/service
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
400 | 404 | | |
401 | 405 | | |
402 | 406 | | |
| |||
0 commit comments