Fix an error message

main v0.0.4
René Jochum 2 years ago
parent 6a0eb0ee68
commit a7c2f4d9cc
Signed by: jochum
GPG Key ID: F7D906F5E51E8E5E

@ -97,7 +97,7 @@ func (c *BunComponent) Init(r *components.Registry, cli *cli.Context) error {
c.bun.AddQueryHook(bundebug.NewQueryHook(bundebug.WithVerbose(true)))
}
} else {
return errors.InternalServerError("internal/ibun.Start|sqltype", "unknown MICRO_AUTH2_DATABASE_URL type")
return errors.InternalServerError("internal/ibun.Start|sqltype", "%s_DATABASE_URL has a unknown type", strings.ToUpper(r.FlagPrefix()))
}
c.initialized = true

Loading…
Cancel
Save