mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Add 500 exception spec
This commit is contained in:
		
							parent
							
								
									7f198cab3b
								
							
						
					
					
						commit
						171459eee9
					
				
					 2 changed files with 11 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -33,7 +33,6 @@ class Kemal::Handler < HTTP::Handler
 | 
			
		|||
    end
 | 
			
		||||
    # Render 404 unless a route matches
 | 
			
		||||
    return render_404
 | 
			
		||||
    nil
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def render_404
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue