mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 10:06:32 +02:00 
			
		
		
		
	fix HAFAS error messages 🐛
This commit is contained in:
		
							parent
							
								
									031769b769
								
							
						
					
					
						commit
						a769291d95
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -48,7 +48,7 @@ const request = (profile, data) => {
 | 
				
			||||||
			throw err
 | 
								throw err
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (b.svcResL[0].err !== 'OK') {
 | 
							if (b.svcResL[0].err !== 'OK') {
 | 
				
			||||||
			err.message = b.svcResL[0].errTxt
 | 
								err.message = b.svcResL[0].errTxt || b.svcResL[0].err
 | 
				
			||||||
			throw err
 | 
								throw err
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		const d = b.svcResL[0].res
 | 
							const d = b.svcResL[0].res
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue