         @_logger.debug 'Completed Command', commandName
         resolve result
       .catch (error) =>
+        paramsWithHiddenPasswordValue = @_hidePasswordValue params
         commandErrorMessage = """
-          Command "#{commandName}" with arguments #{JSON.stringify(params)} of context "#{@name}" rejects with an error
+          Command "#{commandName}" with arguments #{JSON.stringify(paramsWithHiddenPasswordValue)} of context "#{@name}"
+          rejects with an error
         """
 
         if not error

        @_logger.debug "Completed Query #{queryName} with Result #{result}"
        resolve result
      .catch (error) =>
        queryErrorMessage = """
          Query "#{queryName}" with arguments #{JSON.stringify(params)} of context "#{@name}" rejects with an error
        """

        if not error


  command: (commandName, params) ->
    if @_isDestroyed
      paramsWithHiddenPasswordValue = @_hidePasswordValue params
      return Promise.reject new Error """
        Context #{@name} was destroyed, cannot execute command #{commandName} with arguments
        #{JSON.stringify(paramsWithHiddenPasswordValue)}
      """

    executingCommand = new Promise (resolve, reject) =>
