Changeset 1395 for trunk/gui/scripts


Ignore:
Timestamp:
Apr 14, 2009 3:55:25 PM (15 years ago)
Author:
gah
Message:

Added extra debugging information for error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/radiodial.tcl

    r1342 r1395  
    243243        }
    244244        if {!$found} {
    245             error "bad value \"$newval\""
     245            error "bad value \"$newval\": possible matches are \"[join $_values ,]\""
    246246        }
    247247        _setCurrent $newval
     
    272272    }
    273273    if {!$found} {
    274         error "bad value \"$value\""
     274        error "bad value \"$value\": possible matches are \"[join $_values ,]\""
    275275    }
    276276
     
    624624    }
    625625    if {!$found && "" != $newval} {
    626         error "bad value \"$newval\""
     626        error "bad value \"$newval\": possible matches are \"[join $_values ,]\""
    627627    }
    628628    set _current $newval  ;# set current directly, so we don't trigger again
Note: See TracChangeset for help on using the changeset viewer.