diff --git a/README.md b/README.md index bbe1c67..bc037c7 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ This project is the next-generation successor to [PyPacket](https://gihub.com/cc ## Release Notes +* 11/19/2022 ([1.0.3 release](https://github.com/cceremuga/ionosphere/releases/tag/v1.0.3)) + * Removed type logging to temporarily work around a panic/subprocess hang. * 11/15/2022 ([1.0.2 release](https://github.com/cceremuga/ionosphere/releases/tag/v1.0.2)) * Fixed [an issue](https://github.com/cceremuga/ionosphere/issues/18) with config-supplied args for `rtl_fm` and `multimon-sg`. * Logging is now more verbose, including error output during the startup sequence for the underlying `rtl_fm`, `multimon-ng` processes. diff --git a/framework/marshaler/marshaler.go b/framework/marshaler/marshaler.go index e05fbf5..acc9b83 100644 --- a/framework/marshaler/marshaler.go +++ b/framework/marshaler/marshaler.go @@ -29,19 +29,9 @@ func Unmarshal(raw string) (*aprs.Packet, error) { // Converts a packet to its reusable output format. func ToLogFormat(p *aprs.Packet) string { - defer func() { - if err := recover(); err != nil { - log.Error(err, fmt.Sprintf(" (%s)", p.Raw)) - } - }() - - // Panic recovery above due to https://github.com/pd0mz/go-aprs/issues/5 - packetType := p.Payload.Type() - - return fmt.Sprintf("%s -> %s [%s] (%f, %f) %s", + return fmt.Sprintf("%s -> %s (%f, %f) %s", p.Src.Call, p.Dst.Call, - packetTypeName(packetType), p.Position.Latitude, p.Position.Longitude, p.Comment,