Todo : Fix format
RestService : Fix connection if first connection fail BL : Fix Update/Delete return value
This commit is contained in:
@@ -23,7 +23,15 @@ namespace LaDOSE.DiscordBot.Service
|
||||
public WebService(Uri uri,string user,string password)
|
||||
{
|
||||
restService = new RestService();
|
||||
restService.Connect(uri,user,password);
|
||||
try
|
||||
{
|
||||
restService.Connect(uri, user, password);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Console.WriteLine("Unable to contact services");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void CheckToken()
|
||||
|
||||
Reference in New Issue
Block a user