Skip to content

Commit

Permalink
revert debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Jan 16, 2025
1 parent 887c492 commit ed41ada
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/task/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const writeTo = (output) => (x) => output.write(`${x}\n`);
const writeToStderr = writeTo(process.stderr);
/* istanbul ignore next */
const fault = (error) => {
console.log('fault()', error); // eslint-disable-line no-console
// first print our error.
if ((error != null) && (error.isProblem === true) && (error.httpCode < 500)) {
writeToStderr(error.message);
Expand Down Expand Up @@ -106,7 +105,7 @@ const auditing = (action, t) => ((typeof t === 'function')
return Promise.resolve(result);
})
)),
((error) => console.log('auditing() error', error) || auditLog(action, false, Option.of(error).map(Problem.serializable).orNull()).then( // eslint-disable-line no-console
((error) => auditLog(action, false, Option.of(error).map(Problem.serializable).orNull()).then(
(() => Promise.reject(error)),
((auditError) => {
writeToStderr('Failed to audit-log task failure message!');
Expand Down

0 comments on commit ed41ada

Please sign in to comment.