Removed try/catch it broke
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eec1050e17
commit
f37beb0a5d
@ -54,8 +54,6 @@ namespace TeleTok
|
||||
|
||||
// Passes the url along to the video downloader if it is valid AND a tiktok link
|
||||
if (isUri)
|
||||
{
|
||||
try
|
||||
{
|
||||
if(messageText.Contains("tiktok.com"))
|
||||
{
|
||||
@ -68,11 +66,6 @@ namespace TeleTok
|
||||
);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
Console.WriteLine("Valid TikTok URI was sent, but was not a video!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Task HandlePollingErrorAsync(ITelegramBotClient botClient, Exception exception, CancellationToken cancellationToken)
|
||||
|
Loading…
Reference in New Issue
Block a user