|  |  | @ -489,7 +489,13 @@ class GamesController < ApplicationController | 
			
		
	
		
		
			
				
					
					|  |  |  |     path = path.try(:strip) |  |  |  |     path = path.try(:strip) | 
			
		
	
		
		
			
				
					
					|  |  |  |     uid_logger("--rep_content: path is #{path}") |  |  |  |     uid_logger("--rep_content: path is #{path}") | 
			
		
	
		
		
			
				
					
					|  |  |  |     begin |  |  |  |     begin | 
			
		
	
		
		
			
				
					
					|  |  |  |       @content = git_fle_content(@myshixun.repo_path, path) || "" |  |  |  |       if @myshixun.repo_name.nil? | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         g = Gitlab.client | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         repo_name = g.project(@myshixun.gpid).path_with_namespace | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         @myshixun.update_column(:repo_name, repo_name) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       end | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       @content = git_fle_content("#{repo_name}.git", path) || "" | 
			
		
	
		
		
			
				
					
					|  |  |  |     rescue Exception => e |  |  |  |     rescue Exception => e | 
			
		
	
		
		
			
				
					
					|  |  |  |       # 思路: 异常首先应该考虑去恢复 |  |  |  |       # 思路: 异常首先应该考虑去恢复 | 
			
		
	
		
		
			
				
					
					|  |  |  |       if params[:retry].to_i == 1 |  |  |  |       if params[:retry].to_i == 1 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |