Changeset 1821


Ignore:
Timestamp:
May 6, 2011, 5:42:27 PM (6 years ago)
Author:
robert@…
Message:

Added HTTP status 500 when getAssays is called without proper parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/RestController.groovy

    r1813 r1821  
    330330                def validCall = CommunicationManager.hasValidParams( params, "consumer" )
    331331                if( !validCall ) {
     332                        response.status = 500;
    332333                        render "Error. Wrong or insufficient parameters." as JSON
    333334                        return
Note: See TracChangeset for help on using the changeset viewer.