Forum Discussion
YuriK
13 years agoKhoros Alumni (Retired)
Hey Venuj,
What you would probably want to do is use attempt/recover.
<#attempt>
<#assign thread=restadmin("/threads/id/20")>
<#recover>
${.error}
</#attempt>
The ${.error} will contain the error string thrown by the call.
Hope this helps,
Yuri