Skip to content

Commit 1d512a2

Browse files
[MrRefactoring#277]: new error handling additional information added (MrRefactoring#280)
* [MrRefactoring#277]: new error handling additional information added * [MrRefactoring#277]: additional data existing check added * [MrRefactoring#277]: `statusText` added
1 parent 7c40615 commit 1d512a2

File tree

7 files changed

+152
-143
lines changed

7 files changed

+152
-143
lines changed

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: npm run test:integration
5353

5454
publish:
55-
name: Publishing
55+
name: Publish
5656
needs:
5757
- build
5858
- lint

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ You can find the documentation [here](https://mrrefactoring.github.io/jira.js/).
9494
>
9595
>// Output:
9696
>//{
97+
>// code: 'ERR_BAD_REQUEST',
98+
>// status: 400,
9799
>// errorMessages: [],
98100
>// errors:{project: 'Specify a valid project ID or key'}
99101
>// }

‎examples/package-lock.json‎

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎examples/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
},
1313
"license": "MIT",
1414
"devDependencies":{
15-
"@types/node": "^20.3.3",
15+
"@types/node": "^20.8.2",
1616
"ts-node": "^10.9.1",
17-
"typescript": "^5.1.6"
17+
"typescript": "^5.2.2"
1818
},
1919
"dependencies":{
2020
"jira.js": "latest"

0 commit comments

Comments
(0)