Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TBI - Display ABAP response headers if HTTP GET request fails #2636

Open
1 task
longieirl opened this issue Nov 28, 2024 · 0 comments
Open
1 task

TBI - Display ABAP response headers if HTTP GET request fails #2636

longieirl opened this issue Nov 28, 2024 · 0 comments
Labels

Comments

@longieirl
Copy link
Contributor

Description (include screenshots)

During the deployment task, there is an initial GET request made to determine if the BSP app is already deployed;

https://github.com/SAP/open-ux-tools/blob/main/packages/axios-extension/src/abap/ui5-abap-repository-service.ts#L179

In some cases, excluding HTTP 403/401 failures, the failed response can include ABAP response messages which are not displayed to the user.

In order to see these response messages, the developer needs to enable HTTP debugging as follows;

DEBUG=* npm run deploy

This will clearly show additional information that can be used to help to determine the root cause of why deployment has failed.

Value

Provides better root cause analysis and prevents support issues.

Architecture Elaboration

Notes

Tasks

  • Append try/catch around the getInfo method to log any response headers recevied.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant