Only log a stack trace on a 500 err

We don't need to see this for 404, 403 errs