Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Onionoo
Commits
ffc949ea
Commit
ffc949ea
authored
Nov 03, 2017
by
Karsten Loesing
Browse files
Skip unrecognized descriptors when importing archives.
parent
e58c47f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
ffc949ea
...
...
@@ -2,6 +2,8 @@
*
Medium changes
-
Support quoted qualified search terms.
-
Skip unrecognized descriptors when importing archives rather than
aborting the entire import.
# Changes in version 4.2-1.6.1 - 2017-10-26
...
...
src/main/java/org/torproject/onionoo/updater/DescriptorSource.java
View file @
ffc949ea
...
...
@@ -170,9 +170,8 @@ public class DescriptorSource {
if
(
descriptorType
==
null
)
{
log
.
warn
(
"Unrecognized descriptor in "
+
this
.
inArchiveDir
.
getAbsolutePath
()
+
" with annotations "
+
descriptor
.
getAnnotations
()
+
". Not reading any further"
+
"archived descriptors."
);
break
;
+
descriptor
.
getAnnotations
()
+
". Skipping descriptor."
);
continue
;
}
for
(
DescriptorListener
descriptorListener
:
this
.
descriptorListeners
.
get
(
descriptorType
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment