added a message


On Thu, May 15, 2014 at 11:57 AM, cheddar <notifications@github.com> wrote:

> In index.js:
>
> > @@ -436,6 +436,43 @@ module.exports = function (config, deps) {
> >        );
> >      },
> >      /**
> > +     * Post an application error so that it can be logged
> > +     *
> > +     * This call never errors, so the callback is optional; it will be called if supplied.
> > +     * This call also doesn't wait for the call to return but returns immediately.
> > +     *
> > +     * This call automatically adds a property client: true to the property list.
> > +     *
> > +     * @param error Object the error that will be logged
> > +     * @param properties Object list of key/value pairs to post as properties.
> > +     * @param cb If provided, is called without arguments after posting; this call never errors, so callback is optional.
> > +     * @returns {cb}  cb()
> > +     */
> > +    logAppError: function (error, properties, cb) {
>
> Would be good to take in a message as well.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/tidepool-org/platform-client/pull/20/files#r12668605>
> .
>