Skip to content

Commit 540366c

Browse files
committed
fixed error output
1 parent ebe150f commit 540366c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commit-msg-matcher/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31147,7 +31147,7 @@ async function requestIssue(ticket) {
3114731147
});
3114831148
if (!response.ok) {
3114931149
console.error(errorMsg);
31150-
const message = `An error has occured: ${ticket.ticketUri()}: ${response.status} ${response.statusText}`;
31150+
const message = `An error has occured: ${ticket.ticketUri()} has ${response.status} ${response.statusText}`;
3115131151
core.setFailed(message);
3115231152
}
3115331153
const json = await response.json();

commit-msg-matcher/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function requestIssue(ticket) {
5454
});
5555
if (!response.ok) {
5656
console.error(errorMsg);
57-
const message = `An error has occured: ${ticket.ticketUri()}: ${response.status} ${response.statusText}`;
57+
const message = `An error has occured: ${ticket.ticketUri()} has ${response.status} ${response.statusText}`;
5858
core.setFailed(message);
5959
}
6060
const json = await response.json();

0 commit comments

Comments
 (0)