timetable-extension #1
@ -1,6 +1,7 @@
|
|||||||
package vstp
|
package vstp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.fjla.uk/owlboard/timetable-mgr/log"
|
"git.fjla.uk/owlboard/timetable-mgr/log"
|
||||||
@ -17,6 +18,7 @@ func handle(msg *stomp.Message) {
|
|||||||
err, convertedType := convertCifType(schedule)
|
err, convertedType := convertCifType(schedule)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Error converting VSTP to CIF", zap.Error(err))
|
log.Error("Error converting VSTP to CIF", zap.Error(err))
|
||||||
|
fmt.Println(msg.Body)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
err = processCifData(convertedType)
|
err = processCifData(convertedType)
|
||||||
|
Loading…
Reference in New Issue
Block a user