Added error message extraction and made gitub url configurable.