Skip to content

Commit 51ceb3d

Browse files
committed
debug
1 parent 984381b commit 51ceb3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ async function RegisterFreebox(options = { showLogs: true, appId: "fbx.example",
104104
register = "UNPARSABLE"
105105
}
106106
if(!register?.success){
107+
if(options.showLogs) console.log(register)
107108
if(options.showLogs) console.error(`Impossible de demander l'autorisation à votre Freebox. ${register.msg || register}`)
108109
return "CANNOT_ASK_AUTHORIZATION"
109110
}

0 commit comments

Comments
 (0)