Skip to content

Commit 8081896

Browse files
authored
removed try catch in connect (#86)
updated to rc8
1 parent 8cc1ecb commit 8081896

File tree

6 files changed

+9
-17
lines changed

6 files changed

+9
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Using a terminal of your choice, create a new directory for your project and exe
5656
```sh
5757
dotnet new sln
5858
dotnet new substrate \
59-
--sdk_version 0.6.8 \
59+
--sdk_version 0.6.9 \
6060
--rest_service PROJECTNAME.RestService \
6161
--net_api PROJECTNAME.NetApiExt \
6262
--net_integration PROJECTNAME.Integration \
@@ -127,7 +127,7 @@ You can also watch our short step-by-step tutorial that guides you through the e
127127
- AstarNET
128128
```sh
129129
dotnet new substrate \
130-
--sdk_version 0.6.8 \
130+
--sdk_version 0.6.9 \
131131
--rest_service AstarNET.RestService \
132132
--net_api AstarNET.NetApiExt \
133133
--net_api AstarNET.Integration \

Substrate.ServiceLayer/Substrate.ServiceLayer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
15-
<PackageReference Include="Substrate.NET.API" Version="0.9.24-rc6" />
15+
<PackageReference Include="Substrate.NET.API" Version="0.9.24-rc8" />
1616
<PackageReference Include="System.Collections.Concurrent" Version="4.3.0" />
1717
</ItemGroup>
1818

Tools/Substrate.DotNet.Template/templates/Substrate/.template.config/template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"symbols": {
1313
"sdk_version": {
1414
"datatype": "string",
15-
"defaultValue": "0.6.8",
15+
"defaultValue": "0.6.9",
1616
"description": "Uses the given Substrate .NET Toolchain version.",
1717
"replaces": "SUBSTRATE_TOOLCHAIN_VERSION",
1818
"type": "parameter"
1919
},
2020
"api_version": {
2121
"datatype": "string",
22-
"defaultValue": "0.9.24-rc6",
22+
"defaultValue": "0.9.24-rc8",
2323
"description": "Uses the given Substrate .NET API version.",
2424
"replaces": "SUBSTRATE_NETAPI_VERSION",
2525
"type": "parameter"

Tools/Substrate.DotNet/Service/Integration/BaseClientBuilder.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,7 @@ public async Task<bool> ConnectAsync(bool useMetadata, bool standardSubstrate, C
142142
{{
143143
if (!IsConnected)
144144
{{
145-
try
146-
{{
147-
await SubstrateClient.ConnectAsync(useMetadata, standardSubstrate, token);
148-
}}
149-
catch (Exception e)
150-
{{
151-
Log.Error(""BaseClient.ConnectAsync: {{0}}"",
152-
e.ToString());
153-
}}
145+
await SubstrateClient.ConnectAsync(useMetadata, standardSubstrate, token);
154146
}}
155147
156148
return IsConnected;

Tools/Substrate.DotNet/Substrate.DotNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<ItemGroup>
4242
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
43-
<PackageReference Include="Substrate.NET.API" Version="0.9.24-rc6" />
43+
<PackageReference Include="Substrate.NET.API" Version="0.9.24-rc8" />
4444
<PackageReference Include="System.CodeDom" Version="8.0.0" />
4545
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
4646
</ItemGroup>

Version.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<!-- Configuration -->
55
<VersionMajor>0</VersionMajor>
66
<VersionMinor>6</VersionMinor>
7-
<VersionPatch>8</VersionPatch>
7+
<VersionPatch>9</VersionPatch>
88
<AssemblyVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch)</AssemblyVersion>
99

10-
<SubstratePackageVersion>0.6.8</SubstratePackageVersion>
10+
<SubstratePackageVersion>0.6.9</SubstratePackageVersion>
1111

1212
<!-- Variables -->
1313
<SubstrateVersion>$(AssemblyVersion)</SubstrateVersion>

0 commit comments

Comments
 (0)