From 700b12e2c3f660b7cc00f1859b8cb239653db514 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Wed, 2 Oct 2024 14:25:47 +0200 Subject: [PATCH] chore: missing interpolator (#1992) --- codegen/src/main/twirl/templates/ScalaServer/Handler.scala.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/src/main/twirl/templates/ScalaServer/Handler.scala.txt b/codegen/src/main/twirl/templates/ScalaServer/Handler.scala.txt index 2ceb5630f..15d7d836e 100644 --- a/codegen/src/main/twirl/templates/ScalaServer/Handler.scala.txt +++ b/codegen/src/main/twirl/templates/ScalaServer/Handler.scala.txt @@ -139,7 +139,7 @@ object @{serviceName}Handler { case request if isThisService(request.uri.path) => request.uri.path.tail.tail match { case model.Uri.Path.Slash(model.Uri.Path.Segment(method, model.Uri.Path.Empty)) => handle(spi.onRequest(prefix, method, request), method) - case _ => scala.concurrent.Future.failed(new akka.grpc.GrpcServiceException(io.grpc.Status.INVALID_ARGUMENT.withDescription("Invalid gRPC request path [${request.uri.path}]"))) + case _ => scala.concurrent.Future.failed(new akka.grpc.GrpcServiceException(io.grpc.Status.INVALID_ARGUMENT.withDescription(s"Invalid gRPC request path [${request.uri.path}]"))) } } }