Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6208

Node.js API Module - Improve Error Messages/Events

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • None
    • None
    • None
    • None

    Description

      The wrapper for using AeroGear's API via Node.js could return better responses on errors. I recently had an issue whereby passing the alias as a Number rather than String resulted in a 500, but it took a while to figure out since all I knew was that a 500 had been triggered.

      Maybe update this to return the request body (although I'm not sure what the body would have been in this case): https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/blob/master/lib/unifiedpush-node-sender.js#L45

      Attachments

        Activity

          People

            Unassigned Unassigned
            eshortis Evan Shortiss (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: