Decode Packets, Again (#1156)

* fixing issue where the iterator of a closed stream produces no output; added option to include an entire directory of input files; streamlined workflow between gcapy and preprocessed files

* added documentation; restored functionality of the source's iterator; tidied code

* restored functionlaity/reliability of skip-existing and management of duplicate files and file cleanup; added exclusive log for decode error messages

* collects all literal decode errors falling through the logging cracks

* finally eliminating log spam; tidying up the decoded log files's format

* better subclassing and management of the decoy OutStream

* tightening of the noose

* fixing the readme to account for the -f flag
This commit is contained in:
Fate-JH 2023-12-19 14:52:12 -05:00 committed by GitHub
parent 93c3463985
commit b17d699b5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 447 additions and 97 deletions

View file

@ -98,8 +98,9 @@ object ObjectCreateBase {
}
} catch {
case ex: Exception =>
log.error(s"Decoding error - ${ex.getClass.toString} - ${ex.toString} ($objectClass)")
Attempt.failure(Err(ex.getMessage))
val msg = s"Decoding error - ${ex.toString} ($objectClass)"
log.error(msg)
Attempt.failure(Err(msg))
}
}