mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	Adds error stack information in prod environment for certificates
This commit is contained in:
		| @@ -187,7 +187,7 @@ module.exports = Mn.View.extend({ | ||||
|                 }) | ||||
|                 .catch(err => { | ||||
|                     let more_info = ''; | ||||
|                     if(err.code === 500){ | ||||
|                     if(err.code === 500 && err.debug){ | ||||
|                         try{ | ||||
|                             more_info = JSON.parse(err.debug).debug.stack.join("\n"); | ||||
|                         } catch(e) {} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user