From ad4c9fb4ef597684699cc90ba48ff6007908f61f Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Sun, 23 Feb 2020 20:21:47 +1100 Subject: [PATCH] Add possible exception path too long handling --- Wox.Plugin/SharedCommands/FilesFolders.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Wox.Plugin/SharedCommands/FilesFolders.cs b/Wox.Plugin/SharedCommands/FilesFolders.cs index 9576ca7aa..28d0176d5 100644 --- a/Wox.Plugin/SharedCommands/FilesFolders.cs +++ b/Wox.Plugin/SharedCommands/FilesFolders.cs @@ -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 }