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) {
|
||||
if (analyzers == null) return false;
|
||||
try {
|
||||
boolean analyze = true;
|
||||
while (analyze) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user