Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Catch and log fix #192

Merged
merged 3 commits into from
Aug 11, 2023
Merged

Catch and log fix #192

merged 3 commits into from
Aug 11, 2023

Conversation

TheBrunoRM
Copy link
Contributor

@TheBrunoRM TheBrunoRM commented Apr 3, 2023

I was getting a EACCES: permission denied error when it tried to create the dump file.
I think that it would be better if it would log the error first and then create the dump file, and in case it can't, log the error to the console. This is because if the error appeared when writting the file, it would neither write the file nor log the error.

samadritsarkar2 added a commit to samadritsarkar2/node-ytsr-dump-fix that referenced this pull request Apr 15, 2023
@itsfaraaz
Copy link

hey, any plan on resolving the checks and merging this in? looking to stop the dumps from happening at all.

@TheBrunoRM
Copy link
Contributor Author

Hello there! I am really sorry as I did not see the messages before. I've gone ahead and made a commit fixing the checks. I hope this helps!

@stale
Copy link

stale bot commented Aug 10, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 10, 2023
@TimeForANinja
Copy link
Owner

Looks fine to me.
I don't personally care about the order, however the try/catch is a good addition.
The main Problem is that there is basicaly no way to debug an error without the files and with only the logs.

@TimeForANinja TimeForANinja merged commit c1d8305 into TimeForANinja:master Aug 11, 2023
@github-actions
Copy link

🎉 This PR is included in version 3.8.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants