Add VSTP message print when schedule segment is empty
	
		
			
	
		
	
	
		
	
		
			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
							
								
									ba6b6ccf40
								
							
						
					
					
						commit
						45b23b4cf0
					
				| @ -1,6 +1,7 @@ | ||||
| package vstp | ||||
| 
 | ||||
| import ( | ||||
| 	"fmt" | ||||
| 	"time" | ||||
| 
 | ||||
| 	"git.fjla.uk/owlboard/timetable-mgr/log" | ||||
| @ -17,6 +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) | ||||
| 		return | ||||
| 	} | ||||
| 	err = processCifData(convertedType) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user