mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Catch birdseye websocket error (#17502)
This commit is contained in:
		
							parent
							
								
									f0b15e1f04
								
							
						
					
					
						commit
						6475e042b5
					
				@ -259,7 +259,7 @@ class BroadcastThread(threading.Thread):
 | 
				
			|||||||
                            ws.send(buf, binary=True)
 | 
					                            ws.send(buf, binary=True)
 | 
				
			||||||
                        except ValueError:
 | 
					                        except ValueError:
 | 
				
			||||||
                            pass
 | 
					                            pass
 | 
				
			||||||
                        except (BrokenPipeError, ConnectionResetError) as e:
 | 
					                        except (BrokenPipeError, ConnectionResetError, OSError) as e:
 | 
				
			||||||
                            logger.debug(f"Websocket unexpectedly closed {e}")
 | 
					                            logger.debug(f"Websocket unexpectedly closed {e}")
 | 
				
			||||||
            elif self.converter.process.poll() is not None:
 | 
					            elif self.converter.process.poll() is not None:
 | 
				
			||||||
                break
 | 
					                break
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user