equal
deleted
inserted
replaced
393 self.exception(repr(ex)) |
393 self.exception(repr(ex)) |
394 req.set_header('Cache-Control', 'no-cache') |
394 req.set_header('Cache-Control', 'no-cache') |
395 req.remove_header('Etag') |
395 req.remove_header('Etag') |
396 req.message = None |
396 req.message = None |
397 req.reset_headers() |
397 req.reset_headers() |
|
398 if req.json_request: |
|
399 raise RemoteCallFailed(unicode(ex)) |
398 try: |
400 try: |
399 req.data['ex'] = ex |
401 req.data['ex'] = ex |
400 if tb: |
402 if tb: |
401 req.data['excinfo'] = excinfo |
403 req.data['excinfo'] = excinfo |
402 req.form['vid'] = 'error' |
404 req.form['vid'] = 'error' |