mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
Add log for storage crashing
This commit is contained in:
@@ -130,14 +130,7 @@ namespace Wox.Core.UserSettings
|
|||||||
OpacityMode = OpacityMode.Normal;
|
OpacityMode = OpacityMode.Normal;
|
||||||
LeaveCmdOpen = false;
|
LeaveCmdOpen = false;
|
||||||
HideWhenDeactive = false;
|
HideWhenDeactive = false;
|
||||||
CustomPluginHotkeys = new List<CustomPluginHotkey>()
|
CustomPluginHotkeys = new List<CustomPluginHotkey>();
|
||||||
{
|
|
||||||
new CustomPluginHotkey()
|
|
||||||
{
|
|
||||||
ActionKeyword = "history ",
|
|
||||||
Hotkey = "Alt + H"
|
|
||||||
}
|
|
||||||
};
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ namespace Wox.CrashReporter
|
|||||||
|
|
||||||
private void SendReport()
|
private void SendReport()
|
||||||
{
|
{
|
||||||
|
Hide();
|
||||||
ThreadPool.QueueUserWorkItem(o =>
|
ThreadPool.QueueUserWorkItem(o =>
|
||||||
{
|
{
|
||||||
string reproduceSteps = new TextRange(tbReproduceSteps.Document.ContentStart, tbReproduceSteps.Document.ContentEnd).Text;
|
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();
|
serializedObject = LoadDefault();
|
||||||
#if (DEBUG)
|
#if (DEBUG)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -122,6 +122,7 @@
|
|||||||
<Compile Include="Converters\OpacityModeConverter.cs" />
|
<Compile Include="Converters\OpacityModeConverter.cs" />
|
||||||
<Compile Include="Converters\StringEmptyConverter.cs" />
|
<Compile Include="Converters\StringEmptyConverter.cs" />
|
||||||
<Compile Include="Converters\StringNullOrEmptyToVisibilityConverter.cs" />
|
<Compile Include="Converters\StringNullOrEmptyToVisibilityConverter.cs" />
|
||||||
|
<Compile Include="Helper\SendToManager.cs" />
|
||||||
<Compile Include="ImageLoader\ImageCacheStroage.cs" />
|
<Compile Include="ImageLoader\ImageCacheStroage.cs" />
|
||||||
<Compile Include="Storage\QueryHistoryStorage.cs" />
|
<Compile Include="Storage\QueryHistoryStorage.cs" />
|
||||||
<Compile Include="Storage\TopMostRecordStorage.cs" />
|
<Compile Include="Storage\TopMostRecordStorage.cs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user