Skip to content

Commit 63f89c1

Browse files
committed
Release
1 parent 9003996 commit 63f89c1

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.0.3
4+
5+
* Rate Limit and Concurrent connection changes.
6+
37
## 2.0.2
48

59
* channelName and serverName validation bug rectified.

src/dBridges.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,10 @@ await this.Rttpong(dbmessage.dbmsgtype, "rttpong", dbmessage.rsub, dbmessage.sid
859859
await this.ClientSocket.DisconnectAsync();
860860
break;
861861
default:
862-
await this.connectionstate.handledispatcher(states.ERROR, payload);
862+
dBError err = new dBError("E082");
863+
err.updateCode(subject, payload);
864+
865+
await this.connectionstate.handledispatcher(states.ERROR, err);
863866
break;
864867

865868
}

src/dBridges.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<PackageId>Databridges.Sio.Client.Lib</PackageId>
6-
<Version>2.0.2</Version>
6+
<Version>2.0.3</Version>
77
<Authors>Optomate Technologies Private Limited.</Authors>
88
<Company>https://www.optomate.io</Company>
99
<Product>DatabridgesClientLibrary</Product>

src/exceptions/dBError.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void updateCode(string code, string message = "") {
110110
}
111111
else
112112
{
113-
this.code = code;
113+
this.code = this.code + code;
114114
}
115115
}
116116
}

0 commit comments

Comments
 (0)