File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,13 @@ String getRevision(File file) throws CacheException {
100
100
if (parser .getCurrentName ().equals ("revision" )) {
101
101
parser .nextToken ();
102
102
if (!parser .getCurrentToken ().equals (JsonToken .VALUE_STRING )) {
103
- LOGGER .log (Level .WARNING , "failed to get revision from ''{0}''" , cacheFile );
103
+ LOGGER .log (Level .WARNING , "the value of the ''revision'' field in ''{0}'' is not string" ,
104
+ cacheFile );
104
105
return null ;
105
106
}
106
107
return parser .getValueAsString ();
107
108
} else {
109
+ LOGGER .log (Level .WARNING , "the first serialized field is not ''revision'' in ''{0}''" , cacheFile );
108
110
return null ;
109
111
}
110
112
} catch (IOException e ) {
You can’t perform that action at this time.
0 commit comments