1.2022.410.1
·
8 commits
to main
since this release
Updates
Microsoft.Devices.HardwareDevCenterManager
package updated to 2.2.7
This package update includes a catch for HttpRequestException
Microsoft.Devices.HardwareDevCenterManager
pull request #18- By design, if exceptions are caught, the logic will retry the call until MAX_RETRIES is exhausted.
New
Try catch logic for API calls
This allows SDCM to catch exceptions and return ErrorCodes.PARTNER_CENTER_HTTP_EXCEPTION -1000
If using in automation or scripts, you can check for this error and retry the call.
LogExceptionToConsole
- Exceptions will be logged to the console to help understand the exception and where it was caught.
- LogExceptionToConsole Program.cs : line : 1209
ErrorCodes
- SUBMISSION_ENTITY_NOT_FOUND
-47
- COMMIT_REQUEST_INVALID_FOR_CURRENT_STATE
-48
- PARTNER_CENTER_HTTP_EXCEPTION
-1000
ErrorCodeConstants (Dashboard Error Codes)
EntityNotFound
RequestInvalidForCurrentState
ErrorMessageConstants
OnlyPendingSubmissionsCanBeCommitted
InitialSubmissionAlreadyExists