Forum Discussion
Russell_E_Glaue
Nimbostratus
17 years agono such pool Failed Tcl_pool_GetFromObj
I am receiving this error message, and cannot determine why it is occurring. I cannot even use TCL 'catch' to catch the error.
Feb 16 13:22:48 tmm tmm[1568]: 01220001:3: TCL error: dist...
Russell_E_Glaue
Nimbostratus
17 years agoThanks - but I know all of this already.
In fact, I saw this information you are providing on catch in another post in the forums.
This does not answer my question.
I have this irule code:
if { [catch [pool $http_host_pool] result] }{
log local0.err "pool $http_host_pool does not exist, Request: [HTTP::host][HTTP::uri], Result: $result"
}
BUT when the pool does not exist, the log message is not logged.
This is the problem.
It seems that the pool command does not return an error (thus making catch true) when the pool does not exist.
Is this a bug?
Or is this intended?
-RG
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects