diff --git a/generate/generate_bindings.go b/generate/generate_bindings.go index ead8ac4..87841be 100644 --- a/generate/generate_bindings.go +++ b/generate/generate_bindings.go @@ -407,7 +407,10 @@ func {{FNAME}}({{GO_ARGS_SPEC}}) { if cwtchProfile != nil { functionality := {{EXPERIMENT}}.FunctionalityGate() if functionality != nil { - functionality.{{LIBNAME}}(cwtchProfile, {{GO_ARG}}) + err := functionality.{{LIBNAME}}(cwtchProfile, {{GO_ARG}}) + if err != nil { + log.Errorf("error calling experimental feature {{FNAME}}: %v", err) + } } } } diff --git a/go.mod b/go.mod index 8e75275..c7a96e3 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.openprivacy.ca/cwtch.im/cwtch-autobindings go 1.19 require ( - cwtch.im/cwtch v0.24.1 + cwtch.im/cwtch v0.24.2 git.openprivacy.ca/cwtch.im/server v1.4.5 git.openprivacy.ca/openprivacy/connectivity v1.11.0 git.openprivacy.ca/openprivacy/log v1.0.3 diff --git a/go.sum b/go.sum index b379073..4d91b0e 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ cwtch.im/cwtch v0.18.0/go.mod h1:StheazFFY7PKqBbEyDVLhzWW6WOat41zV0ckC240c5Y= -cwtch.im/cwtch v0.24.1 h1:32kaz+suFQ79cypCKZjfQ0BGYTtsR1eJzO5hOGjD9To= -cwtch.im/cwtch v0.24.1/go.mod h1:o8uZBYjDS1DEHftxdYl91iMQZ2WDxlajM7Pa0ScfviI= +cwtch.im/cwtch v0.24.2 h1:kILQFjiIv+/2cJnffwBX8VHQcEZqFA1khOT8jpI3K9U= +cwtch.im/cwtch v0.24.2/go.mod h1:o8uZBYjDS1DEHftxdYl91iMQZ2WDxlajM7Pa0ScfviI= filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= diff --git a/spec b/spec index de60d04..8f03a75 100644 --- a/spec +++ b/spec @@ -42,7 +42,6 @@ profile DisconnectFromServer string:handle ## Server List Management... import "cwtch.im/cwtch/functionality/servers" @profile-experiment GetServerInfoList servers -@profile-experiment GetServerInfo servers string:serverOnion @profile-experiment DeleteServerInfo servers string:serverOnion # Filesharing Management