Skip to content

Commit

Permalink
fix(backend): add more log when initialising plugins (#6981)
Browse files Browse the repository at this point in the history
  • Loading branch information
d4x1 authored Feb 20, 2024
1 parent 3254310 commit 62aaedb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/core/plugin/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ func InitPlugins(basicRes context.BasicRes) {
if err != nil {
panic(fmt.Errorf("failed to initialize plugin %v due to %w", pluginName, err))
}
} else {
basicRes.GetLogger().Info("plugin: %s doesn't implement 'PluginInit', it will be skipped.")
}
}
}

0 comments on commit 62aaedb

Please sign in to comment.