Skip to content

error messages on bin/db: seed don't provide error source #68

@Dahie

Description

@Dahie

Hi,

I'm setting up a backend DB with some models, factories and seeds. Somewhere on the way I made a mistake, so running bin/db seed fails, but without saying which file and which lines.

> bin/db --verbose seed
2025-10-02 20:00:40.415907 I [1280:1264] Brut -- Logging set up
2025-10-02 20:00:40.416916 I [1280:1264] Brut -- Auto-reloaded configured
2025-10-02 20:00:40.417833 I [1280:1264] Brut::Framework::MCP -- OTEL_TRACES_EXPORTER was set (to 'otlp'), so Brut's OTel logging is disabled
2025-10-02 20:00:40.417838 I [1280:1264] Brut::Framework::MCP -- OpenTelemetry::Instrumentation::Sidekiq is not loaded, so Sidekiq traces will not be captured
2025-10-02 20:00:40.450525 I [1280:1264] Brut -- Eagerly loading app's classes
[ bin/db ] error: wrong number of arguments (given 0, expected 1+)
2025-10-02 20:00:41.177126 I [1280:1264] Brut::Framework::MCP -- Shutting down OpenTelemetry -- {program: "bin/db"}
> bin/db seed
[ bin/db ] error: wrong number of arguments (given 0, expected 1+)

The issue in my code I'll find, but I hope the error message can be improved. :)

Regards,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions