more print
This commit is contained in:
		@@ -153,9 +153,10 @@ class MainHandler(tornado.web.RequestHandler):
 | 
			
		||||
            else:
 | 
			
		||||
                self.handle_stream(provider, write)
 | 
			
		||||
        else:
 | 
			
		||||
            print("provider missing")
 | 
			
		||||
            self.set_status(404)
 | 
			
		||||
            if write:
 | 
			
		||||
                self.write("Stream not found.")
 | 
			
		||||
                self.write("Stream not found. (provider missing)")
 | 
			
		||||
    
 | 
			
		||||
    def handle_render(self, provider, write):
 | 
			
		||||
        if template_js is not None and template_html is not None:
 | 
			
		||||
@@ -212,9 +213,10 @@ class MainHandler(tornado.web.RequestHandler):
 | 
			
		||||
                except Exception as e:
 | 
			
		||||
                    print(e)
 | 
			
		||||
        if upstream is None:
 | 
			
		||||
            print(f'invalid provider ({provider})')
 | 
			
		||||
            self.set_status(404)
 | 
			
		||||
            if write:
 | 
			
		||||
                self.write("Stream not found.")
 | 
			
		||||
                self.write("Stream not found. (invalid provider)")
 | 
			
		||||
        else:
 | 
			
		||||
            ctype = upstream_type(upstream, proxy)
 | 
			
		||||
            data = None
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user