Coder error

I was throwing an error but not catching it.