duckduckgo/duckduckgo — pull request #78 by jagtalon (2014-06-03 23:20:37+00:00)
Title: Rewrite: Add proxy_intercept_errors to Spice endpoints.

When we get errors from the endpoint, instead of replying a blank page, it should reply the function instead with no parameters, e.g., `ddg_spice_dictionary_definition();`. The benefit of doing that is that we know for sure that the Spice failed, and we can do something about it (we know that the Spice failed because it should return `Spice.failed('...')` when the parameters are not valid).