Skip to content

Commit

Permalink
Update mercury/mercury-library/agent-cli-didcommx/src/main/scala/io/i…
Browse files Browse the repository at this point in the history
…ohk/atala/mercury/AgentCli.scala

Co-authored-by: Yurii Shynbuiev - IOHK <yurii.shynbuiev@iohk.io>
Signed-off-by: shotexa <shota.jolbordi.me@gmail.com>
  • Loading branch information
shotexa and yshyn-iohk authored Oct 2, 2023
1 parent 4f0f88b commit bac693a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ object AgentCli extends ZIOAppDefault {
res
case Method.GET -> Root / "test" => ZIO.succeed(Response.text("Test ok!"))
case req =>
ZIO.logWarning(s"Deceived a not DID Comm v2 message: ${req}") *>
ZIO.logWarning(s"Received a not DID Comm v2 message: ${req}") *>
ZIO.succeed(Response.text(s"The request must be a POST to root with the Header $header"))
}
.mapError(throwable => Response.fromHttpError(HttpError.InternalServerError(cause = Some(throwable))))
Expand Down

0 comments on commit bac693a

Please sign in to comment.