.catch() running with nothing returned

Hi Chris,

It is a placeholder at the moment, but does a log to console every time so that we can see what is happening at critical moments.

function errorMessage(message,error) {
    console.log(message);
    if (error) {

        console.log(error);
    }
    submitMessage = submitMessage + '<p style="font-size: 16px">' + message + '</p>';
}