Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
int2001 committed Nov 9, 2024
2 parents 64a3ef4 + 58211e4 commit 596624b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,12 @@ WServer.on('message',async function(msg,info){
} ]};
} catch (e) {}
} else {
adobject=parseADIF(msg.toString());
try {
adobject=parseADIF(msg.toString());
} catch(e) {
tomsg('<div class="alert alert-danger" role="alert">Received broken ADIF</div>');
return;
}
}
var plainret='';
if (adobject.qsos.length>0) {
Expand Down

0 comments on commit 596624b

Please sign in to comment.