Put the 500 HTTP return code on exception branches
Put in debugging printlns