Added custom exception handling, including logging the exception, whenever one occurs in the github hook controller.