mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2026-03-13 09:25:12 +08:00
Improve usability of error printer (#8330)
### Description Improve usability of error printer. GitHub shows the first line in the actions output, which in this case was a message talking about XML even if the error is not actually about xml. Swapping them should make it easier to see what is going on. ### Checklist <!-- To help us keep the issue tracker clean and work as efficient as possible, please make sure that you have done all of the following. You can tick the boxes below by placing an x inside the brackets like this: [x] --> - [x] I have read the contribution guidelines: https://github.com/AntennaPod/AntennaPod/blob/develop/CONTRIBUTING.md#submit-a-pull-request - [x] I have performed a self-review of my code, going through my changes line by line and carefully considering why this line change is necessary - [x] I have run the automated code checks using `./gradlew checkstyle spotbugsPlayDebug spotbugsDebug :app:lintPlayDebug` - [x] My code follows the style guidelines of the AntennaPod project: https://antennapod.org/contribute/develop/app/code-style - [x] I have mentioned the corresponding issue and the relevant keyword (e.g., "Closes: #xy") in the description (see https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) - [x] If it is a core feature, I have added automated tests
This commit is contained in:
committed by
GitHub
parent
9a274a35b9
commit
bbfbd2fb72
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
@@ -47,8 +47,8 @@ jobs:
|
||||
- name: Generate readable error messages for GitHub
|
||||
if: failure()
|
||||
run: |
|
||||
git diff --name-only | xargs -I '{}' echo "::error file={},line=1,endLine=1,title=XML Format::Run android-xml-formatter.jar on this file or view CI output to see how it should be formatted."
|
||||
python .github/workflows/errorPrinter.py
|
||||
git diff --name-only | xargs -I '{}' echo "::error file={},line=1,endLine=1,title=XML Format::Run android-xml-formatter.jar on this file or view CI output to see how it should be formatted."
|
||||
false
|
||||
|
||||
unit-test:
|
||||
|
||||
Reference in New Issue
Block a user