mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-29 16:51:18 +13:00
[Feature] Fix ArgumentException: Illegal characters in path (#171)
This commit is contained in:
parent
4fefc4f253
commit
7bac914f51
2 changed files with 4 additions and 3 deletions
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.17.41")]
|
[assembly: AssemblyVersion("1.0.17.42")]
|
||||||
[assembly: AssemblyFileVersion("1.0.17.41")]
|
[assembly: AssemblyFileVersion("1.0.17.42")]
|
||||||
|
|
|
@ -77,7 +77,8 @@ namespace SystemTrayMenu.Utilities
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
if (ex is UnauthorizedAccessException ||
|
if (ex is UnauthorizedAccessException ||
|
||||||
ex is IOException)
|
ex is IOException ||
|
||||||
|
ex is ArgumentException)
|
||||||
{
|
{
|
||||||
Log.Warn($"path:'{path}'", ex);
|
Log.Warn($"path:'{path}'", ex);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue