Better exception handling in FacebookConnector.java and MoodleConnector.java

polling moodle posts