capturing exceptions from radio logger - some packet analyzers seems to be buggy
This commit is contained in:
parent
485ef0cd79
commit
1d13e93db7
@ -549,6 +549,7 @@ public class RadioLogger extends VisPlugin {
|
|||||||
|
|
||||||
private boolean analyzePacket(PacketAnalyzer.Packet packet, StringBuffer brief, StringBuffer verbose) {
|
private boolean analyzePacket(PacketAnalyzer.Packet packet, StringBuffer brief, StringBuffer verbose) {
|
||||||
if (analyzers == null) return false;
|
if (analyzers == null) return false;
|
||||||
|
try {
|
||||||
boolean analyze = true;
|
boolean analyze = true;
|
||||||
while (analyze) {
|
while (analyze) {
|
||||||
analyze = false;
|
analyze = false;
|
||||||
@ -570,6 +571,10 @@ public class RadioLogger extends VisPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
logger.debug("Error when analyzing packet: " + e.getMessage(), e);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return brief.length() > 0;
|
return brief.length() > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user