mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 19:19:23 +08:00
Add log for storage crashing
This commit is contained in:
parent
e767cee4c0
commit
815d911143
@ -130,14 +130,7 @@ namespace Wox.Core.UserSettings
|
||||
OpacityMode = OpacityMode.Normal;
|
||||
LeaveCmdOpen = false;
|
||||
HideWhenDeactive = false;
|
||||
CustomPluginHotkeys = new List<CustomPluginHotkey>()
|
||||
{
|
||||
new CustomPluginHotkey()
|
||||
{
|
||||
ActionKeyword = "history ",
|
||||
Hotkey = "Alt + H"
|
||||
}
|
||||
};
|
||||
CustomPluginHotkeys = new List<CustomPluginHotkey>();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -55,6 +55,7 @@ namespace Wox.CrashReporter
|
||||
|
||||
private void SendReport()
|
||||
{
|
||||
Hide();
|
||||
ThreadPool.QueueUserWorkItem(o =>
|
||||
{
|
||||
string reproduceSteps = new TextRange(tbReproduceSteps.Document.ContentStart, tbReproduceSteps.Document.ContentEnd).Text;
|
||||
|
@ -56,8 +56,9 @@ namespace Wox.Infrastructure.Storage
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Error(e);
|
||||
serializedObject = LoadDefault();
|
||||
#if (DEBUG)
|
||||
{
|
||||
|
@ -122,6 +122,7 @@
|
||||
<Compile Include="Converters\OpacityModeConverter.cs" />
|
||||
<Compile Include="Converters\StringEmptyConverter.cs" />
|
||||
<Compile Include="Converters\StringNullOrEmptyToVisibilityConverter.cs" />
|
||||
<Compile Include="Helper\SendToManager.cs" />
|
||||
<Compile Include="ImageLoader\ImageCacheStroage.cs" />
|
||||
<Compile Include="Storage\QueryHistoryStorage.cs" />
|
||||
<Compile Include="Storage\TopMostRecordStorage.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user