samuraisam / django-json-rpc

JSON-RPC Implementation for Django
MIT License
286 stars 83 forks source link

allow certain errors to be handled by jsonrpc, without sending django error signal #40

Open Fiedzia opened 11 years ago

Fiedzia commented 11 years ago

Jsonrpc can spam logs, so i needed a way to ignore certain types of errors from being routed to error handlers. This patch will create django setting which allows to specify list of exception class names. Any exception from this list will not generate error signal.

samuraisam commented 11 years ago

Hey this looks good to merge but could the parameter be renamed to the possibly more-self-explanatory JSONRPC_IGNORED_ERRORS I can then merge this in. Thanks!