Update DeviceSession.cs
DeviceSession: Removing unused ex variable in Exceptions
This commit is contained in:
parent
5a1e050aec
commit
0435c68281
@ -244,7 +244,7 @@ namespace TelegramBotBase.Sessions
|
||||
|
||||
OnMessageSent(new MessageSentEventArgs(m));
|
||||
}
|
||||
catch (ApiRequestException ex)
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@ -282,7 +282,7 @@ namespace TelegramBotBase.Sessions
|
||||
|
||||
OnMessageSent(new MessageSentEventArgs(m));
|
||||
}
|
||||
catch (ApiRequestException ex)
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@ -320,7 +320,7 @@ namespace TelegramBotBase.Sessions
|
||||
|
||||
OnMessageSent(new MessageSentEventArgs(m));
|
||||
}
|
||||
catch (ApiRequestException ex)
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@ -355,7 +355,7 @@ namespace TelegramBotBase.Sessions
|
||||
|
||||
OnMessageSent(new MessageSentEventArgs(m));
|
||||
}
|
||||
catch (ApiRequestException ex)
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@ -428,7 +428,7 @@ namespace TelegramBotBase.Sessions
|
||||
|
||||
OnMessageSent(new MessageSentEventArgs(m));
|
||||
}
|
||||
catch (ApiRequestException ex)
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@ -463,7 +463,7 @@ namespace TelegramBotBase.Sessions
|
||||
|
||||
OnMessageSent(new MessageSentEventArgs(m));
|
||||
}
|
||||
catch (ApiRequestException ex)
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@ -615,7 +615,7 @@ namespace TelegramBotBase.Sessions
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (ApiRequestException ex)
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user