1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-04 17:59:48 +00:00

fix: don't panic if LDAP sync fails on startup

This commit is contained in:
Elias Schneider
2025-01-19 13:09:16 +01:00
parent 5101b14eec
commit e284e352e2

View File

@@ -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()