mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 15:22:18 +00:00
fix: don't panic if LDAP sync fails on startup
This commit is contained in:
@@ -25,7 +25,7 @@ func RegisterLdapJobs(ldapService *service.LdapService, appConfigService *servic
|
||||
|
||||
// Run the job immediately on startup
|
||||
if err := jobs.syncLdap(); err != nil {
|
||||
log.Fatalf("Failed to sync LDAP: %s", err)
|
||||
log.Printf("Failed to sync LDAP: %s", err)
|
||||
}
|
||||
|
||||
scheduler.Start()
|
||||
|
||||
Reference in New Issue
Block a user