Skip to content

Commit

Permalink
better error message or callback
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jan 29, 2024
1 parent 78a1935 commit b1c9fec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class MedicalSourcesConnectedComponent implements OnInit {
//TOOD: print this message in the UI
let errMsg = "an error occurred while authenticating to this source. Please try again later"
console.error(errMsg, callbackErrorDescription)
throw new Error(errMsg)
throw new Error(`callback error: ${callbackError}, description: ${callbackErrorDescription}`)
}

console.log("callback code:", callbackCode)
Expand Down

0 comments on commit b1c9fec

Please # to comment.