Skip to content

Commit 410e870

Browse files
committed
Fix for 2015.2
1 parent a793d77 commit 410e870

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MDX2JSON/AbstractREST.cls.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,16 @@ Issue an '500' error and give some indication as to what occurred.<br>
239239
<b>pStatus</b> - %status, not %Exception.AbstractException.]]></Description>
240240
<ClassMethod>1</ClassMethod>
241241
<FormalSpec>pStatus:%Exception.AbstractException</FormalSpec>
242+
<ReturnType>%Status</ReturnType>
242243
<Implementation><![CDATA[
243244
// we are expecting status
244245
#; Set the response Http status
245246
Set %response.Status="500 Internal Server Error"
246247
247248
#; Return a helpful error string
248249
Write "{""Error"":"_$$$ZENJSSTR($System.Status.GetErrorText(pStatus,%session.Language))_"}"
250+
251+
Quit $$$OK
249252
]]></Implementation>
250253
</Method>
251254

0 commit comments

Comments
 (0)