So I was looking into it. I see the following ways to fix it:
1. kind of parsing/regexing to check this a kind-of path and return earlier with an error. But how do we want to make this check? Because the input used is not actually a path, detecting it to be possibly one can be difficult, depending on the case. Possible checks: File-ending, Slash in name,
2. another way is to just change the error message
"ERROR key "bundlesk8s-dsds" not found in {<nil> ""} model." and if {<nil> ""} comes, this means neither key, nor model exists and thus just change the error message
So I was looking into it. I see the following ways to fix it:
1. kind of parsing/regexing to check this a kind-of path and return earlier with an error. But how do we want to make this check? Because the input used is not actually a path, detecting it to be possibly one can be difficult, depending on the case. Possible checks: File-ending, Slash in name,
2. another way is to just change the error message
"ERROR key "bundlesk8s-dsds" not found in {<nil> ""} model." and if {<nil> ""} comes, this means neither key, nor model exists and thus just change the error message
3.?