Fix plugin error responses

Calls to the returnError method should’ve been returned to halt further
method processing.