Always `.error()` log unknown queries for `marketstore`
							parent
							
								
									9f37b33167
								
							
						
					
					
						commit
						b2cff0af6f
					
				| 
						 | 
					@ -454,8 +454,12 @@ class Storage:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            result = await client.query(params)
 | 
					            result = await client.query(params)
 | 
				
			||||||
        except purerpc.grpclib.exceptions.UnknownError:
 | 
					        except purerpc.grpclib.exceptions.UnknownError as err:
 | 
				
			||||||
            # indicate there is no history for this timeframe
 | 
					            # indicate there is no history for this timeframe
 | 
				
			||||||
 | 
					            log.exception(
 | 
				
			||||||
 | 
					                f'Unknown mkts QUERY error: {params}\n'
 | 
				
			||||||
 | 
					                f'{err.args}'
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
            return {}
 | 
					            return {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # TODO: it turns out column access on recarrays is actually slower:
 | 
					        # TODO: it turns out column access on recarrays is actually slower:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue