mirror of
https://github.com/actions/configure-pages.git
synced 2026-04-03 16:22:24 +00:00
Instead of logging a detailed error with core.error() and then re-throwing the raw HTTP error (which gets logged again by core.setFailed() in index.js), throw a new Error with the user-friendly message directly. This eliminates the duplicate/superfluous raw error output like "HttpError: Not Found". Fixes #125 Agent-Logs-Url: https://github.com/actions/configure-pages/sessions/ee6b7f39-cfc5-415b-b70c-826c2b8cfcfe Co-authored-by: yoannchaudet <14911070+yoannchaudet@users.noreply.github.com>