diff --git a/src/TestStack.White/UIItems/UIItemContainer.cs b/src/TestStack.White/UIItems/UIItemContainer.cs index 687bf768..30a60db0 100644 --- a/src/TestStack.White/UIItems/UIItemContainer.cs +++ b/src/TestStack.White/UIItems/UIItemContainer.cs @@ -132,7 +132,7 @@ public virtual IUIItem Get(SearchCriteria searchCriteria, TimeSpan busyTimeout) catch (Exception e) { var debugDetails = Debug.Details(automationElement); - throw new WhiteException(string.Format("Error occured while geting {0}", searchCriteria), debugDetails, + throw new WhiteException(string.Format("Error occurred while getting {0}", searchCriteria), debugDetails, e); } } @@ -388,4 +388,4 @@ internal virtual void Associate(WindowSession session) #endregion } -} \ No newline at end of file +}