Skip to content

Commit

Permalink
fix(client): messageString typo (#425)
Browse files Browse the repository at this point in the history
Minor issue, where SatSubsReq is being logged instead of SatSubsResp
  • Loading branch information
davidmartos96 authored Sep 13, 2023
1 parent 45cdcc4 commit fb95187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/typescript/src/util/proto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,11 @@ export function msgToString(message: SatPbMsg): string {
Pb.SatSubsResp_SatSubsError_ShapeReqError_Code[x.code]
} (${x.message})`
)
return `#SatSubsReq{id: ${message.subscriptionId}, err: ${
return `#SatSubsResp{id: ${message.subscriptionId}, err: ${
Pb.SatSubsResp_SatSubsError_Code[message.err.code]
} (${message.err.message}), shapes: [${shapeErrors}]}`
} else {
return `#SatSubsReq{id: ${message.subscriptionId}}`
return `#SatSubsResp{id: ${message.subscriptionId}}`
}
}
case 'Electric.Satellite.SatUnsubsReq':
Expand Down

0 comments on commit fb95187

Please sign in to comment.