Closed YellowOrWhite closed 8 years ago
One alternative is to emit FatalErrorEvent. It does not break backward compatibility, makes it easier to implement reconnect logic and also removes dependency on log package which is only used in connect methods.
Fixed by #51.
It is very strange that connect methods do not return error. It is not possible to run multiple concurrent clients when any one of them can just os.Exit whole process. Is there any particular reason for such design?