Commit 2997d7d
committed
Revised the connect method
When there was an error with the request, the connect method was returning the string
"Connection refused". This would cause errors in the subclasses. So I have it printing the string and
then exiting. I think in the future exceptions should be used.1 parent f03fb5c commit 2997d7d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
0 commit comments