mendix / RestServices

REST service module for Mendix. Supports consuming and publishing REST based services and real-time data synchronization. Supports JSON, form-encoded, multipart and binary data transport.
Apache License 2.0
31 stars 47 forks source link

A better error message when a parameter type is incorrect #10

Closed ismailhabib closed 10 years ago

ismailhabib commented 10 years ago

If we give an incorrect parameter value for a certain type (example: "blabla" for a boolean), we got this error:

{ "error": "Failed to serve: POST createUserAccount", "status": 500, "message": "An internal server error occurred. Please check the application logs or contact a system administrator." }

A better message would help.