src/extensions/default/AutoUpdate/main.js
function resetStateInFailure(message) {
        updateJsonHandler.reset();

        UpdateInfoBar.showUpdateBar({
            type: "error",
            title: Strings.UPDATE_FAILED,
            description: ""
        });

        enableCheckForUpdateEntry(true);
        console.error(message);

    }
function resetStateInFailure(message) {
        updateJsonHandler.reset();

        UpdateInfoBar.showUpdateBar({
            type: "error",
            title: Strings.UPDATE_FAILED,
            description: ""
        });

        enableCheckForUpdateEntry(true);
        console.error(message);

    }
function resetStateInFailure ( message ) { updateJsonHandler . reset ( ) ; UpdateInfoBar . showUpdateBar ( { type : "error" , title : Strings . UPDATE_FAILED , description : "" } ) ; enableCheckForUpdateEntry ( true ) ; console . error ( message ) ; }
Resets the update state in updatehelper.json in case of failure,
and logs an error with the message
@param {string} message - the message to be logged onto console
Resets the update state in updatehelper . json in case of failure and logs an error with the message