Websocket disconnetion

hello
i read that websockets can be disconnected when Cloudflare deploy updates to their servers.
how can i check whether a disconnection i had was related to Cloudflare deployment?

thanks