Fix bug on spark external config parsing

This commit is contained in:
nicolas.dorier 2019-03-01 15:34:30 +09:00
parent 9664e3d6a1
commit 81945c0737
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>1.0.3.74</Version>
<Version>1.0.3.75</Version>
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
</PropertyGroup>
<PropertyGroup>

View File

@ -94,7 +94,10 @@ namespace BTCPayServer.Configuration
{
connectionString.AccessKey = cookie[2];
}
throw new FormatException("Invalid cookiefile format");
else
{
throw new FormatException("Invalid cookiefile format");
}
}
else if (serviceType == ExternalServiceTypes.Charge)
{