Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Remove non-error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pvzig committed Jan 2, 2016
1 parent bb7271c commit a33b2d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions SlackKit/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,12 @@ public class Client: WebSocketDelegate {

// MARK: - WebSocketDelegate
public func websocketDidConnect(socket: WebSocket) {
print("Connected.")
}

public func websocketDidDisconnect(socket: WebSocket, error: NSError?) {
connected = false
authenticated = false
webSocket = nil
print("Disconnected: \(error)")
if let delegate = slackEventsDelegate {
delegate.clientDisconnected()
}
Expand All @@ -236,15 +234,13 @@ public class Client: WebSocketDelegate {
}
do {
try EventDispatcher.eventDispatcher(NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.AllowFragments) as! [String: AnyObject])
print(try NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.AllowFragments))
}
catch _ {

}
}

public func websocketDidReceiveData(socket: WebSocket, data: NSData) {
print("Data: \(data)")
}

}

0 comments on commit a33b2d0

Please sign in to comment.