try {
CommandSession session = new CommandSession(SCLOsgi.MODULE_REPOSITORY, handler);
new TestScriptExecutor(session, reader, handler).execute();
- } catch(Throwable e) {
- CommandSession.formatException(handler, e);
- throw e;
} finally {
reader.close();
}