I suggest `res.json(500, 'delete component error');` or language to that effect, so the client can troubleshoot errors