mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-31 03:53:34 +00:00 
			
		
		
		
	Use optional catch binding.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		| @@ -10,7 +10,7 @@ export function getProxy(_uri: string): ProxyRule | void { | ||||
| 	let uri; | ||||
| 	try { | ||||
| 		uri = new URL(_uri); | ||||
| 	} catch (_) { | ||||
| 	} catch { | ||||
| 		return; | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user