ChecksumDev / lumen

Lumen is an astronomically fast ShareX uploader written in Rust using the Actix Web framework
https://lumen.checksum.space
GNU Affero General Public License v3.0
16 stars 3 forks source link

error handle file creation #2

Closed D3XX3R closed 12 months ago

D3XX3R commented 12 months ago

make lumen not crash when data folder already exists

D3XX3R commented 12 months ago

This was created right after 3e9006d. So it doesn't account for changes made after that. The problem still stands. If the data folder already exists the script will panic.

ChecksumDev commented 12 months ago

I might have fixed this by accident in https://github.com/ChecksumDev/lumen/commit/ebaaa876f670a34e2c152ab8865ed232574290f2, I don't believe this has panic potential.

This change was done to work better with Docker as well as it just making more sense

ChecksumDev commented 12 months ago

I do believe the project's structure should now be stabilized for the time being, I'm very surprised to get a pull request so early on, sorry for the turbulence!

D3XX3R commented 12 months ago

I've seen this project on my GitHub home page and it looked very promising. Looking forward to contribute if and when help is needed. Closing the pull request since this issue seems to be fixed.