Skip to content

fix: Align HTTP error message#55

Merged
OS-pedrogustavobilro merged 1 commit into
mainfrom
fix/RMET-4893/duplicate-http-error-message
Jan 26, 2026
Merged

fix: Align HTTP error message#55
OS-pedrogustavobilro merged 1 commit into
mainfrom
fix/RMET-4893/duplicate-http-error-message

Conversation

@OS-pedrogustavobilro

@OS-pedrogustavobilro OS-pedrogustavobilro commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

When reviewing the File Transfer plugin errors, I'm noticing that when an HTTP error occur, we are returning a duplicate error message. "HTTP Error: 400 - Http Error: 400". So this PR aligns that error message between platforms to just be "HTTP error: 400".

I'll be opening other PRs in the near future to address other issues / limitations in our plugin's error handling, but this one is the first (and simplest one).

@OS-pedrogustavobilro OS-pedrogustavobilro requested a review from a team January 26, 2026 12:51
@OS-pedrogustavobilro OS-pedrogustavobilro merged commit a1702d0 into main Jan 26, 2026
8 checks passed
@OS-pedrogustavobilro OS-pedrogustavobilro deleted the fix/RMET-4893/duplicate-http-error-message branch January 26, 2026 13:09
capacitor-bot pushed a commit that referenced this pull request Feb 10, 2026
## [2.0.4](v2.0.3...v2.0.4) (2026-02-10)

### Bug Fixes

* Align HTTP error message ([#55](#55)) ([a1702d0](a1702d0))
* **android:** AGP 9.0 no longer supporting `proguard-android.txt` ([#57](#57)) ([2eea2f7](2eea2f7))
* **ios:** http body in error and send progress only when success ([#59](#59)) ([da7a5fd](da7a5fd))
* **web:** Check the existence of the folder before mkdir. ([#33](#33)) ([0f0658f](0f0658f))
capacitor-bot pushed a commit that referenced this pull request Feb 11, 2026
## [1.0.10](v1.0.9...v1.0.10) (2026-02-11)

### Bug Fixes

* Align HTTP error message ([#55](#55)) ([d50c7d6](d50c7d6))
* **android:** Correctly returning headers for upload ([#46](#46)) ([93eab42](93eab42))
* **ios:** http body in error and send progress only when success ([#59](#59)) ([d0e43cc](d0e43cc))
* **ios:** Send upload response code as string instead of number ([#49](#49)) ([ba0c1d2](ba0c1d2))
* **web:** Check the existence of the folder before mkdir. ([#33](#33)) ([58ea4b6](58ea4b6))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants