mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Add error message specification
This commit is contained in:
@@ -41,7 +41,8 @@ namespace Wox.Plugin.Program.Logger
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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
|
/// => Example: |Win32|LnkProgram|c:\..\chrome.exe|Permission denied on directory, but Wox should continue
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||||
|
|||||||
@@ -163,9 +163,9 @@ namespace Wox.Plugin.Program.Programs
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if DEBUG //make developer aware and implement handling
|
#if DEBUG //make developer aware and implement handling
|
||||||
catch(Exception)
|
catch(Exception e)
|
||||||
{
|
{
|
||||||
throw;
|
throw e;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return u.Apps;
|
return u.Apps;
|
||||||
|
|||||||
Reference in New Issue
Block a user