Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Provide error messages returned from the App Center CLI in the Cake build log #22

Open
steverichey opened this issue Jan 14, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@steverichey
Copy link

steverichey commented Jan 14, 2021

Expected Behavior

This is a recommended improvement. When building via Cake, we often receive the error "AppCenter: Process returned an error (exit code 3)." The App Center CLI provides more detailed error information, but this information is not visible in the Cake output log, confounding troubleshooting efforts.

Current Behavior

Instead of the vague error message, read the message from standard error or standard output and display.

Possible Solution

I'm not sure how the parser that generates this repository works, but I'm guessing there would be a change there.

Steps to Reproduce (for bugs)

The exit code 3 error happens intermittently when uploading to App Center. You can also see this message when attempting to call AppCenterAppsShowWithResult with an invalid app name.

Context

This is causing CI builds to fail.

Your Environment

  • Module version used: Cake 0.38.5, Cake.AppCenter 1.3.0, App Center CLI 2.7.3
  • Operating System and PowerShell version: macOS 10.15.7, noted in both bash and zsh
@MihaMarkic
Copy link
Contributor

Yep, I need to figure out how to display errors. Right now they are not displayed, because an error is thrown before.

@MihaMarkic MihaMarkic self-assigned this Jun 24, 2022
@MihaMarkic MihaMarkic added the enhancement New feature or request label Jun 24, 2022
@MihaMarkic MihaMarkic added this to the 1.4.0 milestone Jun 24, 2022
@MihaMarkic MihaMarkic removed this from the 1.4.0 milestone Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants