node-minecraft-protocol icon indicating copy to clipboard operation
node-minecraft-protocol copied to clipboard

Fix unhandled promise rejection on ms auth

Open IceTank opened this issue 3 years ago • 2 comments

The authenticate function that does ms auth returns a promise that can reject on error. If this occurs in your code the node process will exit due to an unhandledRejection error. This pull requests fixes this and instead emits a error event on the client.

IceTank avatar Jul 21 '22 18:07 IceTank

can you please resolve conflicts ?

rom1504 avatar Aug 07 '22 15:08 rom1504

Looks good to me, would be great if this could be merged.

nickisnoobatcode avatar Aug 12 '22 22:08 nickisnoobatcode