summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--action.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/action.go b/action.go
index f61c218..5799d37 100644
--- a/action.go
+++ b/action.go
@@ -227,7 +227,9 @@ func processAction(a *widget.Action) {
log.Log(ANDLABS, "processAction() trying on nonexistant window", a.WidgetId, a.ActionType)
return
}
- log.Error(errors.New("andlabs processAction() ERROR findWidgetId found nil"), a.ActionType, a.WidgetType)
+ str := a.ActionType.String() + " id " + widget.GetString(a.WidgetId) + " " + a.WidgetType.String()
+ err := errors.New("andlabs processAction() findWidgetId got nil " + str)
+ log.Error(err, a.ActionType, a.WidgetType)
log.Log(WARN, "processAction() ERROR findWidgetId found nil for id =", a.WidgetId)
log.Log(WARN, "processAction() ERROR findWidgetId found nil", a.ActionType, a.WidgetType)
log.Log(WARN, "processAction() ERROR findWidgetId found nil for id =", a.WidgetId)