From efb9275d65d28e82d0c0603d8ac7d971d283ef08 Mon Sep 17 00:00:00 2001 From: "Frank S. Thomas" Date: Tue, 2 Jan 2024 16:03:29 +0100 Subject: [PATCH] Show repo owner in exception message --- .../main/scala/org/scalasteward/core/forge/data/RepoOut.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/main/scala/org/scalasteward/core/forge/data/RepoOut.scala b/modules/core/src/main/scala/org/scalasteward/core/forge/data/RepoOut.scala index c833905145..be9abd615d 100644 --- a/modules/core/src/main/scala/org/scalasteward/core/forge/data/RepoOut.scala +++ b/modules/core/src/main/scala/org/scalasteward/core/forge/data/RepoOut.scala @@ -34,7 +34,7 @@ final case class RepoOut( archived: Boolean = false ) { def parentOrRaise[F[_]](implicit F: ApplicativeThrow[F]): F[RepoOut] = - parent.fold(F.raiseError[RepoOut](new Throwable(s"repo $name has no parent")))(F.pure) + parent.fold(F.raiseError[RepoOut](new Throwable(s"repo ${repo.show} has no parent")))(F.pure) def repo: Repo = Repo(owner.login, name)