Resolved linting issues

This commit is contained in:
MohitKatare-protean
2025-03-26 14:33:32 +05:30
parent ff680dacbb
commit 75883c6f6a
4 changed files with 16 additions and 19 deletions

View File

@@ -109,7 +109,9 @@ func run(ctx context.Context, configPath string) error {
return fmt.Errorf("failed to initialize config: %w", err)
}
log.Infof(ctx, "Initializing logger with config: %+v", cfg.Log)
log.InitLogger(cfg.Log)
if err := log.InitLogger(cfg.Log); err != nil {
return fmt.Errorf("failed to initialize logger: %w", err)
}
// Initialize plugin manager.
log.Infof(ctx, "Initializing plugin manager")