processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.3k stars 1.26k forks source link

Convert `user.controller.js` to `async`/`await` syntax. #3032

Closed lindapaiste closed 4 months ago

lindapaiste commented 4 months ago

Ref #521

Changes:

Limitations:

I have verified that this pull request:

raclim commented 3 months ago

Hi @lindapaiste! Just wanted to share some of the server logs I found during the days that peaked in errors. I noticed that during those times, the server would restart more frequently and that these two errors would show up mostly around those moments:

Error 1

Screenshot 2024-03-27 at 11 08 32 AM

Error 2

Screenshot 2024-03-27 at 11 00 05 AM

Based on the first image, I think it's coming from comparePassword in the user.js file? Or maybe from removing the return on line 51 in passport.js?

I also have a two more screenshots of other logs when the server restarts from two different days. I hope this was able to provide some context but let me know if you need more logs or other info here, thanks!!!

Log from 03/22/24

Screenshot 2024-03-27 at 11 06 18 AM

Log from 03/24/24

Screenshot 2024-03-27 at 11 08 54 AM