diff --git a/MechJeb2/MechJebModulePSGGlueBall.cs b/MechJeb2/MechJebModulePSGGlueBall.cs index 47293386..cd7f9148 100644 --- a/MechJeb2/MechJebModulePSGGlueBall.cs +++ b/MechJeb2/MechJebModulePSGGlueBall.cs @@ -118,7 +118,8 @@ private void GatherException() Exception = _task.Exception?.InnerException; - Debug.Log(Exception); + if (Exception != null) + Debug.Log(Exception); } public void SetTarget(double peR, double apR, double attR, double inclination, double lan, double fpa, bool attachAltFlag, bool lanflag)