mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add error message specification
This commit is contained in:
parent
8a676c573a
commit
46274acb3e
2 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue