Changeset 743 for trunk/gui


Ignore:
Timestamp:
May 17, 2007 1:57:06 PM (17 years ago)
Author:
mmc
Message:

Added a test so we can simulate jobs that dump core mid-way through.
Also, a few minor tweaks to bug reporting. Now reports Rappture errors
in category "Rappture" and problem-launching-job errors as "Tools".

File:
1 edited

Legend:

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

    r733 r743  
    209209        }
    210210    }
    211     if {[string length $summary] > 50} {
    212         set summary "[string range $summary 0 50]..."
    213     }
    214     append summary " (in tool \"[Rappture::Tool::resources -appname]\")"
     211    if {[string length $summary] > 200} {
     212        set summary "[string range $summary 0 200]..."
     213    }
     214    if {[string match {Problem launching job*} $summary]} {
     215        append summary " (in tool \"[Rappture::Tool::resources -appname]\")"
     216        set category "Tools"
     217    } else {
     218        set category "Rappture"
     219    }
    215220
    216221    # make sure that the stack trace isn't too long
     
    257262        sesstoken [Rappture::Tool::resources -session] \
    258263        hostname [info hostname] \
    259         category rappture \
     264        category $category \
    260265        summary $summary \
    261266        referrer "tool \"[Rappture::Tool::resources -appname]\"" \
Note: See TracChangeset for help on using the changeset viewer.