Added error message to commit