Skip to content

Commit c2b9fac

Browse files
committed
shorten the lack of history error message
1 parent 48a5eb8 commit c2b9fac

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

opengrok-web/src/main/webapp/enoent.jsp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ information: Portions Copyright [yyyy] [name of copyright owner]
1616
1717
CDDL HEADER END
1818
19-
Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
19+
Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
2020
Portions Copyright 2011 Jens Elkner.
2121
Portions Copyright (c) 2018, Chris Fraire <[email protected]>.
2222
@@ -49,9 +49,8 @@ include file="/menu.jspf"
4949
PageConfig cfg = PageConfig.get(request);
5050
String configError = "";
5151
if (!cfg.hasHistory()) {
52-
configError = "Resource lacks history info. Was remote SCM side up when indexing occurred? "
53-
+ "Cleanup history cache dir(or just the .gz for the file or db record) and rerun indexer making sure remote side will respond during indexing.";
54-
}
52+
configError = "Resource lacks history info.";
53+
}
5554
%>
5655
<h3 class="error">Error: File not found!</h3>
5756
<p>The requested resource is not available. </p>

0 commit comments

Comments
 (0)