Skip to content

Commit

Permalink
Do not fail workflow when page is not found. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonk authored May 17, 2024
1 parent 3114af2 commit 4295bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18658,8 +18658,7 @@ class SyncConfluence {
title,
(err, data) => {
if (err) {
console.error(err);
process.exit(1);
resolve(undefined);
} else {
if (data.results[0]) {
resolve(data.results[0].id);
Expand Down
3 changes: 1 addition & 2 deletions utils/confluence.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class SyncConfluence {
title,
(err, data) => {
if (err) {
console.error(err);
process.exit(1);
resolve(undefined);
} else {
if (data.results[0]) {
resolve(data.results[0].id);
Expand Down

0 comments on commit 4295bd6

Please sign in to comment.