Fix logging of failed VSTP messages
All checks were successful
Go Test / test (push) Successful in 43s
All checks were successful
Go Test / test (push) Successful in 43s
This commit is contained in:
parent
2adb82a1b3
commit
5b1ab9b12f
@ -3,7 +3,7 @@ WORKDIR /source
|
||||
COPY . .
|
||||
RUN go build .
|
||||
|
||||
FROM scratch
|
||||
FROM alpine:latest
|
||||
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
|
||||
USER 20400
|
||||
CMD [ "/bin/timetable-mgr" ]
|
@ -6,7 +6,7 @@ import (
|
||||
|
||||
// Version Constants
|
||||
const versionNum string = "2024.04.0"
|
||||
const versionSuffix string = "rc2"
|
||||
const versionSuffix string = "beta2"
|
||||
const Version string = versionNum + "-" + versionSuffix
|
||||
|
||||
// Environment Variables
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user