fix: log item texture fail as error, unlocalized string

This commit is contained in:
goat 2020-04-24 20:17:18 +02:00
parent 0bd0efbd5b
commit a72536603b

View file

@ -81,7 +81,7 @@ namespace Dalamud.Interface
ImGui.Separator(); ImGui.Separator();
ImGui.Text("Search: "); ImGui.Text(Loc.Localize("DalamudItemSearchVerb", "Search: "));
ImGui.SameLine(); ImGui.SameLine();
ImGui.InputText("##searchbox", ref this.searchText, 32); ImGui.InputText("##searchbox", ref this.searchText, 32);
@ -152,7 +152,7 @@ namespace Dalamud.Interface
iconTex.Header.Height, 4); iconTex.Header.Height, 4);
} catch (Exception ex) } catch (Exception ex)
{ {
Log.Debug("Failed loading item texture"); Log.Error(ex, "Failed loading item texture");
this.selectedItemTex?.Dispose(); this.selectedItemTex?.Dispose();
this.selectedItemTex = null; this.selectedItemTex = null;
} }