lightmelody

changeset 747:6cd1456da9ae

Pass through connection opening errors
author Arc Riley <arcriley@gmail.com>
date Sat, 06 Jun 2015 21:48:30 -0400
parents 0608d319c258
children 6c47d5656556
files src/Connection.gs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/src/Connection.gs	Sat Jun 06 21:13:16 2015 -0400
     1.2 +++ b/src/Connection.gs	Sat Jun 06 21:48:30 2015 -0400
     1.3 @@ -300,7 +300,7 @@
     1.4              _stream = yield client.connect_to_service_async(server,
     1.5                                                              "xmpp-client")
     1.6          except e : GLib.Error
     1.7 -            return false
     1.8 +            raise e
     1.9  
    1.10          // Success
    1.11          return true
    1.12 @@ -312,7 +312,7 @@
    1.13          try
    1.14              _stream = client.connect_to_service(server, "xmpp-client")
    1.15          except e : GLib.Error
    1.16 -            return false
    1.17 +            raise e
    1.18  
    1.19          state = State.OPENING
    1.20