mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Wrap uncommon exception
This commit is contained in:
@@ -163,7 +163,16 @@ namespace SabreTools.Library.IO
|
||||
}
|
||||
|
||||
// Get the parent path in case of appending
|
||||
string parentPath = Path.GetFullPath(input);
|
||||
string parentPath;
|
||||
try
|
||||
{
|
||||
parentPath = Path.GetFullPath(input);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Globals.Logger.Error(ex.ToString());
|
||||
continue;
|
||||
}
|
||||
|
||||
if (Directory.Exists(input))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user