浏览代码

Sujith :) ->
1. Removed some un-needed logs

sujith 1 月之前
父节点
当前提交
a7c13a9002
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      Assets/Better Git/Arbitrator/Editor/GUI/ArbitratorController.cs

+ 1 - 6
Assets/Better Git/Arbitrator/Editor/GUI/ArbitratorController.cs

@@ -13,7 +13,6 @@ using Terra.Arbitrator.Services;
 using Terra.Arbitrator.Promises;
 using System.Collections.Generic;
 using UnityEditor.SceneManagement;
-using UnityEngine;
 
 namespace Terra.Arbitrator.GUI
 {
@@ -421,7 +420,6 @@ namespace Terra.Arbitrator.GUI
         private void HandleOperationError(Exception ex)
         {
             ErrorMessage = $"Operation Failed: {ex.Message}";
-            Debug.LogException(ex);
         }
         
         private void FinishOperation()
@@ -532,10 +530,7 @@ namespace Terra.Arbitrator.GUI
             GitService.DiffStashedFile(change)
                 .Catch(ex =>
                 {
-                    var res = _displayDialog("Stash Diff Error", $"Error diffing '{change.FilePath}': {ex.Message}", "Uh-oh", "Ok");
-                    if (!res) return;
-                    Debug.Log($"Error diffing '{change.FilePath}'");
-                    Debug.LogException(ex);
+                    _ = _displayDialog("Stash Diff Error", $"Error diffing '{change.FilePath}': {ex.Message}", "Uh-oh", "Ok");
                 });
         }