Skip to content

Console/log error messages should be presented together #8

@phil-levy

Description

@phil-levy

Currently, the UMAPI error messages are displayed without being near the parameters that are being sent. This makes it really hard to figure out what call the error message corresponds to. The requestID connects them. Can you put the call info with the return info?

2017-02-01 17:14:20 13396 INFO processor - Adding user with user key: rroe@example.com
2017-02-01 17:14:20 13396 INFO dashboard.owning.action - Added action: {"do": [{"createEnterpriseID": {"lastname": "Roe", "country": "US", "email": "rroe@example.com", "firstname": "Richard", "option": "ignoreIfAlreadyExists"}}], "requestID": "action_2", "user": "rroe@example.com"}
2017-02-01 17:14:20 13396 INFO processor - Adding user with user key: jsmith@example.com
2017-02-01 17:14:20 13396 INFO dashboard.owning.action - Added action: {"do": [{"createEnterpriseID": {"lastname": "Smith", "country": "US", "email": "jsmith@example.com", "firstname": "John", "option": "ignoreIfAlreadyExists"}}], "requestID": "action_3", "user": "jsmith@example.com"}
2017-02-01 17:14:20 13396 DEBUG requests.packages.urllib3.connectionpool - https://usermanagement.adobe.io:443 "POST /v2/usermanagement/action/620049C857E4735B7F000101@AdobeOrg?testOnly=true HTTP/1.1" 200 248
2017-02-01 17:14:20 13396 WARNING dashboard.owning.action - Error requestID: action_1 code: "error.user.belongs_to_another_org" message: "Illegal to invite user from another organization's owned auth src"
2017-02-01 17:14:20 13396 WARNING dashboard.owning.action - Error requestID: action_2 code: "error.user.belongs_to_another_org" message: "Illegal to invite user from another organization's owned auth src"
2017-02-01 17:14:20 13396 WARNING dashboard.owning.action - Error requestID: action_3 code: "error.user.belongs_to_another_org" message: "Illegal to invite user from another organization's owned auth src"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions