More Lint errors and add new binary

This commit is contained in:
Andrew Walsh 2023-12-10 14:47:54 -08:00
parent de2c363a4f
commit d1c0c988a7
2 changed files with 4 additions and 1 deletions

BIN
apt_query Executable file

Binary file not shown.

View file

@ -34,7 +34,10 @@ func (e *Execution) Error() error {
func DeserializeExecution(payload string) *Execution {
var execution Execution
json.Unmarshal([]byte(payload), &execution)
err := json.Unmarshal([]byte(payload), &execution)
if err != nil {
logging.Fatalf("Error encountered deserializing Execution object.\n%s", err)
}
return &execution
}