Skip to content

Commit 64b4f19

Browse files
committed
Printing contents of terminal view if REPL fails to initialize during UI tests
1 parent 829a737 commit 64b4f19

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • rascal-vscode-extension/src/test/vscode-suite

rascal-vscode-extension/src/test/vscode-suite/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ export class RascalREPL {
117117
} catch (_ignored) {
118118
stopRunning = true;
119119
console.log("**** ignoring exception: ", _ignored);
120+
console.log('Terminal contents after failing to initialize REPL:');
121+
console.log(await this.terminal.getText());
120122
return false;
121123
}
122124
}

0 commit comments

Comments
 (0)