From 4f2334b5230b2ee0f3a1416bb7f4019d684fb520 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 12 Dec 2009 15:18:16 +0000 Subject: [PATCH] where-vessels: show errorInfo in acq error --- yarrg/where-vessels | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yarrg/where-vessels b/yarrg/where-vessels index 8886c79..ecf1e06 100755 --- a/yarrg/where-vessels +++ b/yarrg/where-vessels @@ -380,7 +380,7 @@ proc acquire_showerror {} { } proc acquire {} { - global clipboard acqdeffont acqerr + global clipboard acqdeffont acqerr errorInfo set old $clipboard if {[catch { set clipboard [clipboard get] @@ -392,6 +392,7 @@ proc acquire {} { } emsg]} { set acqerr "clipboard parsing failed: $emsg" puts stderr $acqerr + append acqerr "\n$errorInfo" regsub -all {.{18}} "error: [string trim $emsg]" "&\n" ewrap .ctrl.acquire.resframe.res configure \ -background red -foreground white -font fixed \ -- 2.30.2