mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-28 19:40:28 +00:00
Added setting description
This commit is contained in:
@@ -10,6 +10,10 @@ func ApplySettings() {
|
||||
logger.Debug("Applying Settings")
|
||||
|
||||
// Error-reporting
|
||||
m, _ := GetByName("error-reporting")
|
||||
config.ErrorReporting = m.Value.Decoded.(bool)
|
||||
m, err := GetByName("error-reporting")
|
||||
if err != nil {
|
||||
logger.Error("ApplySettingsError", err)
|
||||
} else {
|
||||
config.ErrorReporting = m.Value.Decoded.(bool)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user