Skip to content

Commit

Permalink
fix: variable references (#227)
Browse files Browse the repository at this point in the history
* fix: Launcher freeze

* Fix syntax.

Co-authored-by: Daniel Scalzi <[email protected]>
  • Loading branch information
GeekCornerGH and dscalzi authored Dec 10, 2022
1 parent e3ee03e commit 9224531
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/assets/js/scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,13 +391,13 @@ ipcRenderer.on(MSFT_OPCODE.REPLY_LOGIN, (_, ...arguments_) => {
if (Object.prototype.hasOwnProperty.call(queryMap, 'error')) {
switchView(getCurrentView(), viewOnClose, 500, 500, () => {
// TODO Dont know what these errors are. Just show them I guess.
// This is probably if you messed up the app registration with Azure.
console.log('Error getting authCode, is Azure application registered correctly?')
console.log(error)
console.log(error_description)
console.log('Full query map', queryMap)
// This is probably if you messed up the app registration with Azure.
let error = queryMap.error // Error might be 'access_denied' ?
let errorDesc = queryMap.error_description
console.log('Error getting authCode, is Azure application registered correctly?')
console.log(error)
console.log(errorDesc)
console.log('Full query map: ', queryMap)
setOverlayContent(
error,
errorDesc,
Expand Down Expand Up @@ -1582,4 +1582,4 @@ function prepareSettings(first = false) {
}

// Prepare the settings UI on startup.
//prepareSettings(true)
//prepareSettings(true)

1 comment on commit 9224531

@LucasB25
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's just console logs it fixes no freeze

Please sign in to comment.