From 5fe209bf05d81f34e8ed060d68d6d73e0efe753c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 10 Mar 2026 12:50:44 +0300 Subject: [PATCH] 210 exception handling improvement --- v1/Application.cfc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index 10f3f34..e21a72d 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -57,7 +57,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="svc-api"; - variables.framework.docs.APIVersion="0.209"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.210"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; @@ -288,7 +288,7 @@ var usrCustomerInfo=getUsrCustomerInfo(idpUserData.userInfo.contactId, idpUserData.userInfo.companyId); } catch (e) { - return representationOf( {"exception"=e, "idpResponse"=result} ); + return representationOf( {"exception.Message"=e.Message, "exception.Detail"=e.Detail, "idpResponse"=result} ); } //dump(idpUserData);dump(usrCustomerInfo);abort;