mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-11 03:45:01 -05:00
Merge remote-tracking branch 'origin/dev'
This commit is contained in:
commit
6f52a4fd27
@ -167,7 +167,7 @@ class MainHandler(RequestHandler):
|
|||||||
if status_code == 401:
|
if status_code == 401:
|
||||||
self.write(self.http_error_401_handler())
|
self.write(self.http_error_401_handler())
|
||||||
elif status_code == 404:
|
elif status_code == 404:
|
||||||
redirect('/home/')
|
self.redirect('/home/')
|
||||||
else:
|
else:
|
||||||
logger.log(traceback.format_exc(), logger.DEBUG)
|
logger.log(traceback.format_exc(), logger.DEBUG)
|
||||||
super(MainHandler, self).write_error(status_code, **kwargs)
|
super(MainHandler, self).write_error(status_code, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user