Skip to content

Commit

Permalink
SK-1242 add logs to debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
yaswanth-pula-skyflow authored Nov 16, 2023
1 parent 0afde0a commit 97e1c24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/internal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,8 @@ export class FrameElement {
}

private applyMask() {
// eslint-disable-next-line no-console
console.log('iFrameForm element being Set as', this.iFrameFormElement, Date.now());
const { mask } = this.iFrameFormElement;
let output = '';
if (mask) {
Expand All @@ -818,6 +820,8 @@ export class FrameElement {
this.iFrameFormElement.setValue(output);
}
} catch (err) {
// eslint-disable-next-line no-console
console.log('apply mask thrown error', err);
printLog(parameterizedString(logs.warnLogs.INVALID_INPUT_TRANSLATION,
this.iFrameFormElement.fieldType), MessageType.WARN,
(this.iFrameFormElement.context.logLevel || LogLevel.ERROR));
Expand Down

0 comments on commit 97e1c24

Please sign in to comment.