mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 04:41:37 +02:00
✨ Improve webhook URI validation
This commit is contained in:
parent
6a7a25121e
commit
6ea0279c9e
9 changed files with 34 additions and 14 deletions
|
@ -169,6 +169,9 @@
|
|||
(instance? java.net.ConnectException cause)
|
||||
"connection-error"
|
||||
|
||||
(instance? java.lang.IllegalArgumentException cause)
|
||||
"invalid-uri"
|
||||
|
||||
(instance? java.net.http.HttpConnectTimeoutException cause)
|
||||
"timeout"
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue