Skip to content

Commit

Permalink
chore(worker): fix create catalog log
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <[email protected]>
  • Loading branch information
fabriziosestito committed Nov 14, 2024
1 parent 40d0077 commit 6d17681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handlers/create_catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewCreateCatalogHandler(registryClientFactory registryclient.ClientFactory,
func (h *CreateCatalogHandler) Handle(message messaging.Message) error {
createCatalogMessage, ok := message.(*messaging.CreateCatalog)
if !ok {
return fmt.Errorf("expected CreateCatalog, got %T", message)
return fmt.Errorf("unexpected message type: %T", message)
}

h.logger.Debug("Catalog creation requested",
Expand Down

0 comments on commit 6d17681

Please sign in to comment.