Skip to content
Snippets Groups Projects
Commit c6cae908 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

direct output when launching ProB2UI to limited logger

parent 9bf36c8b
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,7 @@ public class OpenClassicHandler extends AbstractHandler implements IHandler { ...@@ -74,6 +74,7 @@ public class OpenClassicHandler extends AbstractHandler implements IHandler {
break; break;
} }
System.out.println(PROB_STANDALONE_NAME + ": " + line); System.out.println(PROB_STANDALONE_NAME + ": " + line);
LimitedLogger.getLogger().log(line,PROB_STANDALONE_NAME,null);
} }
} catch (IOException e) { } catch (IOException e) {
} finally { } finally {
...@@ -124,7 +125,7 @@ public class OpenClassicHandler extends AbstractHandler implements IHandler { ...@@ -124,7 +125,7 @@ public class OpenClassicHandler extends AbstractHandler implements IHandler {
process.waitFor(); // I hope this will not block Rodin process.waitFor(); // I hope this will not block Rodin
if (process.exitValue() != 0) { if (process.exitValue() != 0) {
Logger.notifyUserWithoutBugreport("Error launching ProB2UI with java -jar" + probBinary + ". Exit code: " + process.exitValue()); Logger.notifyUserWithoutBugreport("Failed to launch ProB2UI with java -jar" + probBinary + ". Exit code: " + process.exitValue());
} }
} catch (IOException | InterruptedException e) { } catch (IOException | InterruptedException e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment