mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
refactor(log): log.fatal usage review EE-4607 (#8280)
This commit is contained in:
parent
48a0f40621
commit
6c193a8a45
2 changed files with 3 additions and 2 deletions
|
@ -54,7 +54,8 @@ func (m *Monitor) Start() {
|
|||
case <-time.After(m.timeout):
|
||||
initialized, err := m.WasInitialized()
|
||||
if err != nil {
|
||||
log.Fatal().Err(err).Msg("")
|
||||
log.Error().Err(err).Msg("AdminMonitor failed to determine if Portainer is Initialized")
|
||||
return
|
||||
}
|
||||
|
||||
if !initialized {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue