mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	No feed log level
This patch drops the log level for logging requests to non-existing feeds from error to debug. The reasoning behind this is that this is a client error and a client error is returned and can be handled by the client. Otherwise anyone can easily spam the logs with error messages by just requesting non-existing feeds.
This commit is contained in:
		
							parent
							
								
									1a5e0d2a5e
								
							
						
					
					
						commit
						c307b1e6fb
					
				| @ -33,7 +33,7 @@ class RssFeedManager { | ||||
|   async getFeed(req, res) { | ||||
|     var feed = this.feeds[req.params.id] | ||||
|     if (!feed) { | ||||
|       Logger.error(`[RssFeedManager] Feed not found ${req.params.id}`) | ||||
|       Logger.debug(`[RssFeedManager] Feed not found ${req.params.id}`) | ||||
|       res.sendStatus(404) | ||||
|       return | ||||
|     } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user