|
@@ -334,6 +334,7 @@ func GetStateJson() ([]byte, error) {
|
|
|
// broadcast the global state to auth'd clients
|
|
// broadcast the global state to auth'd clients
|
|
|
func BroadcastToClients() error {
|
|
func BroadcastToClients() error {
|
|
|
authJson, err := GetStateJson()
|
|
authJson, err := GetStateJson()
|
|
|
|
|
+ config.Logger.Info("Got state json")
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
errmsg := fmt.Errorf("Error marshalling auth broadcast:", err)
|
|
errmsg := fmt.Errorf("Error marshalling auth broadcast:", err)
|
|
|
return errmsg
|
|
return errmsg
|