Refactoring no available methods error (#211)
This commit is contained in:
@@ -297,7 +297,7 @@ open class NativeCall(
|
|||||||
val availableMethods = upstream.getMethods()
|
val availableMethods = upstream.getMethods()
|
||||||
|
|
||||||
if (!availableMethods.isAvailable(method)) {
|
if (!availableMethods.isAvailable(method)) {
|
||||||
val errorMessage = "The method $method does not exist/is not available"
|
val errorMessage = "The method $method is not available"
|
||||||
return Mono.just(
|
return Mono.just(
|
||||||
InvalidCallContext(
|
InvalidCallContext(
|
||||||
CallError(
|
CallError(
|
||||||
|
|||||||
Reference in New Issue
Block a user