Don't stack trace on 301s

Closes #1012