Add possible exception path too long handling

This commit is contained in:
Jeremy Wu 2020-02-23 20:21:47 +11:00
parent 69f66b7a4b
commit ad4c9fb4ef

View file

@ -57,12 +57,10 @@ namespace Wox.Plugin.SharedCommands
}
catch(PathTooLongException e)
{
//log and update error message to output
#if DEBUG
throw;
#else
throw;// PRODUCTION LOGGING AND CONTINUE
return false;
#endif
}