Commit f874cff
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 <[email protected]>1 parent 200b937 commit f874cff
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
| 988 | + | |
| 989 | + | |
988 | 990 | | |
989 | 991 | | |
990 | 992 | | |
| |||
993 | 995 | | |
994 | 996 | | |
995 | 997 | | |
996 | | - | |
| 998 | + | |
| 999 | + | |
997 | 1000 | | |
998 | 1001 | | |
999 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
1000 | 1005 | | |
1001 | 1006 | | |
1002 | 1007 | | |
| |||
0 commit comments