Merge "ProjectCacheImpl: Include project name into exception message"

This commit is contained in:
Edwin Kempin 2020-03-13 16:35:41 +00:00 committed by Gerrit Code Review
commit 559ae1e339

View File

@ -153,7 +153,8 @@ public class ProjectCacheImpl implements ProjectCache {
logger.atFine().log("Cannot find project %s", projectName.get());
return Optional.empty();
}
throw new StorageException("project state not available", e);
throw new StorageException(
String.format("project state of project %s not available", projectName.get()), e);
}
}