Added stack traces to error messages when in "development" mode