Skip to content

Commit

Permalink
Logs error messages and exception in getInitR
Browse files Browse the repository at this point in the history
  • Loading branch information
goglepox committed Sep 17, 2013
1 parent 837893e commit ea7c11f
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -122,6 +122,7 @@ public RServi getInitR(String task) {
} catch (CoreException e) {
// TODO Auto-generated catch block
working = false;
logger.error( "Init R", e );
status = e.getMessage();
e.printStackTrace();
}
Expand All @@ -133,6 +134,7 @@ public RServi getInitR(String task) {
}
catch (CoreException e) {
working = false;
logger.error( "Init R", e );
status = e.getMessage();
}
}
Expand Down Expand Up @@ -214,8 +216,8 @@ else if (OS.startsWith("Linux"))
}
} catch(Exception e) {
working = false;
status = e.toString();
logger.error(status);
status = e.getMessage();
logger.error( status, e );
}
status=s.toString();
logger.debug(status);
Expand Down

0 comments on commit ea7c11f

Please sign in to comment.