Created
August 31, 2022 07:32
-
-
Save trycf/b5e212587adc6532d52f7246a8b3beb1 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cftry> | |
<cfhttp url="http://missing.luce1e.org" result="result" throwOnError=true></cfhttp> | |
<cfcatch> | |
<cfdump var=#cfcatch#> | |
<cfif cfcatch.errorCode eq 0 > | |
// really failed expletives (censored) | |
<cfelse> | |
// may needs extra handling, 401 etc | |
</cfif> | |
</cfcatch> | |
</cftry> | |
<cftry> | |
<cfhttp url="http://missing.lucee.org" result="result" throwOnError=true></cfhttp> | |
<cfcatch> | |
<cfdump var=#cfcatch#> | |
<cfif cfcatch.errorCode eq 0 > | |
// really failed expletives (censored) | |
<cfelse> | |
// may needs extra handling, 401 etc | |
</cfif> | |
</cfcatch> | |
</cftry> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment