Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-perso committed Sep 29, 2023
1 parent 984381b commit 51ceb3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ async function RegisterFreebox(options = { showLogs: true, appId: "fbx.example",
register = "UNPARSABLE"
}
if(!register?.success){
if(options.showLogs) console.log(register)
if(options.showLogs) console.error(`Impossible de demander l'autorisation à votre Freebox. ${register.msg || register}`)
return "CANNOT_ASK_AUTHORIZATION"
}
Expand Down

0 comments on commit 51ceb3d

Please sign in to comment.