Skip to content

Commit 7f93c11

Browse files
chore(release): 1.0.26-alpha.1 [skip ci]
## [1.0.26-alpha.1](v1.0.25...v1.0.26-alpha.1) (2022-01-28) ### Bug Fixes * if cannot parse err, just print ([f6ce773](f6ce773))
1 parent f6ce773 commit 7f93c11

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.0.26-alpha.1](https://github.com/scribd/amazon-appmesh-virtual-gateway-route-action/compare/v1.0.25...v1.0.26-alpha.1) (2022-01-28)
2+
3+
4+
### Bug Fixes
5+
6+
* if cannot parse err, just print ([f6ce773](https://github.com/scribd/amazon-appmesh-virtual-gateway-route-action/commit/f6ce7732c8b645a8162c1e540f6482efb4f88a1c))
7+
18
## [1.0.25](https://github.com/scribd/amazon-appmesh-virtual-gateway-route-action/compare/v1.0.24...v1.0.25) (2022-01-28)
29

310

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,9 @@ async function run() {
345345
/* istanbul ignore next */
346346
if (require.main === require.cache[eval('__filename')]) {
347347
run().catch((err) => {
348-
core.debug(`Received error: ${JSON.stringify(err)}`);
349348
const httpStatusCode = err.$metadata ? err.$metadata.httpStatusCode : undefined;
350349
core.setFailed(`${err.name} (Status code: ${httpStatusCode}): ${err.message}`);
350+
core.debug(`Received error: ${JSON.stringify(err)}`).catch(() => { return err });
351351
core.debug(err.stack);
352352
process.exit(1);
353353
});

0 commit comments

Comments
 (0)