From fca6f0d6c0ea57c4e26ffa16c33afa2d8384def0 Mon Sep 17 00:00:00 2001 From: Michael Bryzek Date: Mon, 3 Jun 2024 16:25:55 -0400 Subject: [PATCH] Log error on not being able to find version --- api/app/db/VersionsDao.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/db/VersionsDao.scala b/api/app/db/VersionsDao.scala index 7ba620f96..70fd34c37 100644 --- a/api/app/db/VersionsDao.scala +++ b/api/app/db/VersionsDao.scala @@ -364,7 +364,7 @@ class VersionsDao @Inject() ( def migrateVersionGuid(guid: UUID): ValidatedNec[String, Unit] = { lookupVersionToMigrate(guid) match { case None => { - ().validNec + "Could not find version to migrate".invalidNec } case Some(version) => {