summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 293848e..ae3c6d4 100644
--- a/main.go
+++ b/main.go
@@ -36,7 +36,7 @@ func queueMain(currentA widget.Action) {
// it's easier to code it this way however
// also, if it dies here, it get's caught
// usually, this is where it dies
- log.Warn("about to send action into the andlabs ui.QueueMain()")
+ log.Log(ANDLABS, "about to send action into the andlabs ui.QueueMain()")
ui.QueueMain(func() {
processAction(&currentA)
})
@@ -46,8 +46,8 @@ func guiMain() {
defer func() {
if r := recover(); r != nil {
log.Warn("YAHOOOO Recovered in guiMain application:", r)
- log.Println("Recovered from panic:", r)
- log.Println("Stack trace:")
+ log.Warn("Recovered from panic:", r)
+ log.Warn("Stack trace:")
debug.PrintStack()
me.myTree.SendToolkitPanic()
return