Skip to content

Commit 785cf0f

Browse files
committed
added error log
1 parent 048cfd6 commit 785cf0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/accessibility-automation/helper.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,10 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
242242
supportFileContentMap[file] = supportFilesData.cleanupParams ? supportFilesData.cleanupParams : defaultFileContent;
243243
}
244244
} catch(e) {
245-
logger.debug(`Unable to modify file contents for ${file} to set event listeners with error ${e}`, true, e);
246-
}
245+
246+
logger.debug(`Unable to modify file contents for ${file} to set event listeners with error ${e}`, true, e);
247+
console.log(`Unable to modify file contents for ${file} to set event listeners with error ${e}`, e);
248+
}
247249
}
248250

249251
// Build the correct glob pattern

0 commit comments

Comments
 (0)