Browse Source

No such schema message formating fix (#316)

Co-authored-by: Ilya Kuramshin <ikuramshin@provectus.com>
iliax 4 years ago
parent
commit
21a090f102

+ 1 - 1
kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/SchemaRegistryService.java

@@ -80,7 +80,7 @@ public class SchemaRegistryService {
             .uri(cluster.getSchemaRegistry() + URL_SUBJECT_VERSIONS, schemaName)
             .retrieve()
             .onStatus(NOT_FOUND::equals,
-                throwIfNotFoundStatus(formatted(NO_SUCH_SCHEMA))
+                throwIfNotFoundStatus(formatted(NO_SUCH_SCHEMA, schemaName))
             ).bodyToFlux(Integer.class)
         ).orElse(Flux.error(ClusterNotFoundException::new));
   }