Skip to content

Commit

Permalink
Merge branch 'main' into fix/legacy-indy-cred-req-prover-did
Browse files Browse the repository at this point in the history
  • Loading branch information
genaris authored Feb 24, 2023
2 parents 3ea992d + da8f2ad commit ad30169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/transport/WsOutboundTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class WsOutboundTransport implements OutboundTransport {
// If we already have a socket connection use it
let socket = this.transportTable.get(socketId)

if (!socket) {
if (!socket || socket.readyState === this.WebSocketClass.CLOSING) {
if (!endpoint) {
throw new AriesFrameworkError(`Missing endpoint. I don't know how and where to send the message.`)
}
Expand Down

0 comments on commit ad30169

Please sign in to comment.