Skip to content

Commit 46307ca

Browse files
authored
Merge pull request #3259 from scala-steward-org/topic/show-repo-owner
Show repo owner in exception message
2 parents 7c33066 + efb9275 commit 46307ca

File tree

1 file changed

+1
-1
lines changed
  • modules/core/src/main/scala/org/scalasteward/core/forge/data

1 file changed

+1
-1
lines changed

modules/core/src/main/scala/org/scalasteward/core/forge/data/RepoOut.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final case class RepoOut(
3434
archived: Boolean = false
3535
) {
3636
def parentOrRaise[F[_]](implicit F: ApplicativeThrow[F]): F[RepoOut] =
37-
parent.fold(F.raiseError[RepoOut](new Throwable(s"repo $name has no parent")))(F.pure)
37+
parent.fold(F.raiseError[RepoOut](new Throwable(s"repo ${repo.show} has no parent")))(F.pure)
3838

3939
def repo: Repo =
4040
Repo(owner.login, name)

0 commit comments

Comments
 (0)