Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

unfriendly error when re-deploying

Đang mở
#560 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện sự cố với aio app deploy trên một workspace production đã được triển khai và phê duyệt. Theo dõi việc xử lý lỗi cập nhật extension-point của workspace và làm cho đầu ra hoàn tất nêu rõ trạng thái lỗi cùng cách khắc phục, thay vì in đối tượng lỗi lồng nhau.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Describe the bug

The error message is not clear

To Reproduce
run aio app deploy on a production workspace that has already been deployed+approved

Expected behavior
A clear error message stating the error condition, and how to fix it is shown

Instead it looks like the entire error object is output, which is not very friendly

test-stage-july22 AIO_CLI_ENV=stage aio app deploy
✔ Built 1 action(s) for 'dx/excshell/1'
✔ Building web assets for 'dx/excshell/1'
✔ Deployed 1 action(s) for 'dx/excshell/1'
✔ Deploying web assets for 'dx/excshell/1'
Your deployed actions:
web actions:
  -> https://development-918-jessestagetest.dev.runtime.adobe.io/api/v1/web/dx-excshell-1/generic 
To view your deployed application:
  -> https://development-918-jessestagetest.dev.runtime.adobe.io/index.html
To view your deployed application in the Experience Cloud shell:
  -> https://experience-stage.adobe.com/?devMode=true#/custom-apps/?localDevUrl=https://development-918-jessestagetest.dev.runtime.adobe.io/index.html
⠴ Updating Extension Points 'endpoints' in Workspace=Production... ›   Error: [CoreConsoleAPISDK:ERROR_UPDATE_WORKSPACE_ENDPOINTS] 400 - Bad Request 
 ›   ([{"template":"ERR_MSG_RETRY_OR_CONTACT","message":"{\"errors\":[{\"error_code\":\"1400\",\"message\":\"Problem occured - App in 
 ›   DRAFT|REJECTED|RETRACTED status can only be updated\"}]}"}])
⠦ Updating Extension Points 'endpoints' in Workspace=Production...%            
Ngôn ngữ chính
JavaScript
Star
28
Fork
41
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của adobe/aio-cli-plugin-app

Tất cả issue của adobe/aio-cli-plugin-app

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.