mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Add error message specification
This commit is contained in:
@@ -41,7 +41,8 @@ namespace Wox.Plugin.Program.Logger
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Please follow exception format: |class name|calling method name|loading program path|user friendly message that explains the error
|
||||
/// Please follow exception format, there are four parts to an error message that need to be specified:
|
||||
/// |class name|calling method name|loading program path|user friendly message that explains the error
|
||||
/// => Example: |Win32|LnkProgram|c:\..\chrome.exe|Permission denied on directory, but Wox should continue
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
||||
@@ -163,9 +163,9 @@ namespace Wox.Plugin.Program.Programs
|
||||
}
|
||||
#endif
|
||||
#if DEBUG //make developer aware and implement handling
|
||||
catch(Exception)
|
||||
catch(Exception e)
|
||||
{
|
||||
throw;
|
||||
throw e;
|
||||
}
|
||||
#endif
|
||||
return u.Apps;
|
||||
|
||||
Reference in New Issue
Block a user