Skip to content

Commit 39e8255

Browse files
committed
add logs
1 parent d012052 commit 39e8255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom-redirect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function getErrorDetailsFromCfCode(cfCode, env) {
6565
return;
6666
}
6767
errorCode = cfCode ? cfCode.toString() : "500";
68+
console.log(`Handling error with code: ${errorCode}`);
6869
enableReportError = env.ENABLE_REPORT_ERROR;
6970
if(enableReportError) {
7071
reportErrorButtonText = env.REPORT_ERROR_BUTTON_TEXT

0 commit comments

Comments
 (0)