this needs to be
```javascript
event.tags.splice(event.tags.indexOf('error'), 1);
```
without the assignment. splice does inline operations on the array and returns the removed items, *not* the modified array.