Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele De Cupis authored and Emanuele De Cupis committed Jul 24, 2020
1 parent 0fcdf23 commit fd190d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GetUserDataProcessingActivity/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ const logFailure = (context: Context) => (
);
break;
case "NOT_FOUND_FAILURE":
context.log.error(`${logPrefix}|Error UserDataProcessing not found`);
// it might not be a failure
context.log.warn(`${logPrefix}|Error UserDataProcessing not found`);
break;
default:
assertNever(failure);
Expand Down

0 comments on commit fd190d5

Please sign in to comment.