Fixes printf printing

This commit is contained in:
cornelk
2017-02-01 15:57:41 +07:00
parent 7e1874a5b3
commit fbc33a0a2c
6 changed files with 12 additions and 12 deletions

View File

@@ -141,9 +141,9 @@ func (b *BTCC) WebsocketClient() {
for b.Enabled && b.Websocket {
err := socketio.ConnectToSocket(BTCC_SOCKETIO_ADDRESS, BTCCSocket)
if err != nil {
log.Printf("%s Unable to connect to Websocket. Err: %s\n", err)
log.Printf("%s Unable to connect to Websocket. Err: %s\n", b.GetName(), err)
continue
}
log.Printf("%s Disconnected from Websocket.")
log.Printf("%s Disconnected from Websocket.\n", b.GetName())
}
}