Fix logging of failed VSTP messages

This commit is contained in:
Fred Boniface
2024-04-28 11:52:00 +01:00
parent 2adb82a1b3
commit 5b1ab9b12f
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ func handle(msg *stomp.Message) {
err, convertedType := convertCifType(schedule)
if err != nil {
log.Error("Error converting VSTP to CIF", zap.Error(err))
fmt.Println(msg.Body)
fmt.Println(string(msg.Body))
return
}
err = processCifData(convertedType)