added exception handling

This commit is contained in:
Mike Nolan 2022-05-03 08:30:00 -05:00
parent 364d6d3f4e
commit 616d99146e
2 changed files with 4 additions and 4 deletions

View File

@ -109,7 +109,7 @@ namespace Tesses.YouTubeDownloader
return streams1; return streams1;
}catch(YoutubeExplodeException ex) }catch(YoutubeExplodeException ex)
{ {
_=ex; await storage.GetLogger().WriteAsync(ex);
return null; return null;
} }
} }

View File

@ -7,9 +7,9 @@
<PackageId>Tesses.YouTubeDownloader</PackageId> <PackageId>Tesses.YouTubeDownloader</PackageId>
<Author>Mike Nolan</Author> <Author>Mike Nolan</Author>
<Company>Tesses</Company> <Company>Tesses</Company>
<Version>1.0.2.0</Version> <Version>1.0.2.1</Version>
<AssemblyVersion>1.0.2.0</AssemblyVersion> <AssemblyVersion>1.0.2.1</AssemblyVersion>
<FileVersion>1.0.2.0</FileVersion> <FileVersion>1.0.2.1</FileVersion>
<Description>A YouTube Downloader</Description> <Description>A YouTube Downloader</Description>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression> <PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>