005
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</cfsilent>
|
||||
|
||||
|
||||
<cffunction name="get" hint="попробуем авторизоваться у элмы">
|
||||
<cffunction name="get" hint="генерирует ошибку 500">
|
||||
<!--- <cfargument name="svcOperationId" required=true hint="int"/> --->
|
||||
<!--- <cftry>
|
||||
<cfset this.helper.validateField(arguments, "svcOperationId", "integer")/>
|
||||
@@ -20,7 +20,7 @@
|
||||
<!--- <cfdump var=#userdata#/><cfabort/> --->
|
||||
|
||||
|
||||
<cfreturn representationOf(fcontent) />
|
||||
<cfreturn representationOf("Some error").withStatus(500) />
|
||||
</cffunction>
|
||||
|
||||
</cfcomponent>
|
||||
Reference in New Issue
Block a user