busterjs/buster — Issue #105: Uncaught exceptions should be highlighted
Author: jodal
Created: 2012-02-23 14:25:10+00:00
State: open

I feel that the "Uncaught exception: ..." lines in the output of `buster test` should be more visible, as I've missed them several times and been looking for errors elsewhere when the error has been listed right in front of me.

In the case where you run `buster test` by hand, it's OK enough, as it's the first thing printed:

```
$ buster test
Uncaught exception: invalid assignment left-hand side
Firefox 11.0 Linux: ...EEEE
# ... more output ...
```

When I'm running `buster test` from a script with a loop and some other output as well, it becomes invisible:

```
# ... more output ...
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
testdata/ CREATE 4913
Uncaught exception: invalid assignment left-hand side
Firefox 11.0 Linux: ...EEEE
# ... more output ...
```

My suggestion is to make the "Uncaught exception:" text yellow.