abingham / traad

An JSON+HTTP server for the rope Python refactoring library
MIT License
107 stars 20 forks source link

A failed extrat can block the processing queue. #52

Closed abingham closed 11 years ago

abingham commented 11 years ago

If you do something like an extract with an empty name, this will cause the server to hand. Presumably we don't handle the resulting rope error properly.

abingham commented 11 years ago

Duh. The problem is that any exception thrown by a task in the TaskProcessor goes uncaught and ends the processing loop. Simple enough to fix.

abingham commented 11 years ago

Fixed in dfc499ba9d58a38a0a2dfd3705046669f09fe86c