Skip to content

Commit

Permalink
panic when relay auth key is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
elraphty committed Feb 13, 2024
1 parent 2811e42 commit c1714da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ func InitConfig() {
// only make this call if there is a Relay auth key
if RelayAuthKey != "" {
RelayNodeKey = GetNodePubKey()
} else {
panic("No relay auth key set")
}

if Host == "" {
Expand Down

0 comments on commit c1714da

Please sign in to comment.