Skip to content

Commit

Permalink
chore: ensure we alway log errors
Browse files Browse the repository at this point in the history
  • Loading branch information
petertonysmith94 committed Dec 8, 2024
1 parent 67bb7b5 commit 5d6cb7a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/account/src/test-utils/launchNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,8 @@ export const launchNode = async ({
});
}
if (/error/i.test(text)) {
if (loggingEnabled) {
// eslint-disable-next-line no-console
console.log(text);
}
// eslint-disable-next-line no-console
console.log(text);
reject(new FuelError(FuelError.CODES.NODE_LAUNCH_FAILED, text));
}
});
Expand Down

0 comments on commit 5d6cb7a

Please sign in to comment.