Panic changed to http error