| 
														
															@@ -59,12 +59,12 @@ def homepage_recommend(): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return json.dumps(result) 
														 | 
														
														 | 
														
															             return json.dumps(result) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         else: 
														 | 
														
														 | 
														
															         else: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             log_.error('categoryId error, categoryId = {}'.format(category_id)) 
														 | 
														
														 | 
														
															             log_.error('categoryId error, categoryId = {}'.format(category_id)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            result = {'code': -1, 'message': 'fail'} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            result = {'code': -1, 'message': 'fail', 'traceback': traceback.format_exc()} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return json.dumps(result) 
														 | 
														
														 | 
														
															             return json.dumps(result) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     except Exception as e: 
														 | 
														
														 | 
														
															     except Exception as e: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         log_.error(e) 
														 | 
														
														 | 
														
															         log_.error(e) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        result = {'code': -1, 'message': 'fail'} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        result = {'code': -1, 'message': 'fail', 'traceback': traceback.format_exc()} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return json.dumps(result) 
														 | 
														
														 | 
														
															         return json.dumps(result) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -128,6 +128,7 @@ def app_video_hot_list(): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         result = {'code': -1, 'message': 'fail'} 
														 | 
														
														 | 
														
															         result = {'code': -1, 'message': 'fail'} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return json.dumps(result) 
														 | 
														
														 | 
														
															         return json.dumps(result) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 def serve_forever(ip='0.0.0.0', port=5001): 
														 | 
														
														 | 
														
															 def serve_forever(ip='0.0.0.0', port=5001): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     pywsgi.WSGIServer((ip, port), app).serve_forever() 
														 | 
														
														 | 
														
															     pywsgi.WSGIServer((ip, port), app).serve_forever() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |