diff options
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByVersion.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByVersion.java b/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByVersion.java index b3fd56a696e..28f2fa81db3 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByVersion.java +++ b/sonar-batch/src/main/java/org/sonar/batch/components/PastSnapshotFinderByVersion.java @@ -47,7 +47,7 @@ public class PastSnapshotFinderByVersion implements BatchExtension { .getResultList(); if (snapshots.isEmpty()) { - throw new IllegalStateException("Unknown project version: " + version); + throw new IllegalStateException("Unknown project version: " + version +". Please check differential views in project settings."); } Snapshot snapshot = snapshots.get(0); Date targetDate = snapshot.getCreatedAt(); |