print stderr on score.
This commit is contained in:
@ -574,10 +574,14 @@ $(function() {
|
||||
// output_mode_is_streaming = false;
|
||||
//}
|
||||
if (!colorize) {
|
||||
var stream = _.sortBy([output.stderr || '', output.stdout || ''], function(stream) {
|
||||
return stream.length;
|
||||
})[1];
|
||||
element.append(stream);
|
||||
if(output.stdout != ''){
|
||||
element.append(output.stdout)
|
||||
}
|
||||
|
||||
if(output.stderr != ''){
|
||||
element.append('There was an error: StdErr: ' + output.stderr);
|
||||
}
|
||||
|
||||
} else if (output.stderr) {
|
||||
element.addClass('text-warning').append(output.stderr);
|
||||
} else if (output.stdout) {
|
||||
|
Reference in New Issue
Block a user