Commit b7c58e8
committed
Make sure to log error in findObjectsForSrc()
It is hidden right now if there is an error in configured named
fields and index. Lets log the error and return the current state
of requests.
With this the findObjectsForSrc() will exit with an hidden error
like:
```
"error": "Index with name field:.spec.ksmTls.caBundleSecretName does not exist"
```
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>1 parent 50a00b9 commit b7c58e8
2 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | 527 | | |
533 | 528 | | |
534 | 529 | | |
| |||
542 | 537 | | |
543 | 538 | | |
544 | 539 | | |
| 540 | + | |
| 541 | + | |
545 | 542 | | |
546 | 543 | | |
547 | 544 | | |
| |||
550 | 547 | | |
551 | 548 | | |
552 | 549 | | |
553 | | - | |
| 550 | + | |
| 551 | + | |
554 | 552 | | |
555 | 553 | | |
556 | 554 | | |
| 555 | + | |
| 556 | + | |
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
| 619 | + | |
619 | 620 | | |
620 | 621 | | |
621 | 622 | | |
| |||
0 commit comments