nodesagency/Platform-API-plugin — pull request #2 by AD7six (2012-06-05 09:39:41+00:00)
Title: don't hijack error messages

Throwing any exception which has a code results in trying to render "error.ctp"
which, if it doens't exist will then be rendered as a missing view exception.

This change will silently handle such cases without hijacking the error message