Skip to content

Commit

Permalink
update panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Feb 2, 2024
1 parent c880abb commit 7636747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/experiment/local/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func Initialize(apiKey string, config *Config) *Client {
client := clients[usedKey]
if client == nil {
if usedKey == "" {
panic("api key must be set")
panic("project api key or experiment deployment key must be set")
}
config = fillConfigDefaults(config)
log := logger.New(config.Debug)
Expand Down

0 comments on commit 7636747

Please sign in to comment.