How do I generate an error log file?
If you’re reporting a problem with HDoujin Downloader (you can’t download from a specific site, or you’re experiencing errors) you might be asked to provide error logs. These logs contain information about what problem occurred when you tried to run the download, which makes fixing bugs a lot easier and faster.
Error logs are not generated by default. To enable logging, click “Help > Enable Diagnostics”.
Next, add an item to the queue that you’re having trouble downloading (you might be asked to add a specific URL to the queue for testing). This will create a folder titled “log” in the program directory. This folder is used to contain all error logs generated.
After you add an item to the queue, a file will be created in the log folder titled something along the lines of “site added”, prefixed with the date that the log was generated. You’re done! All that’s left is to send this file to the developer (yours truly, Squidy). (There is no need to actually run the download.)
You may want to click “Help > Disable Diagnostics” when you’re done, so it doesn’t generate excess log files.
How do I see which pages failed when getting the “Some failed” error message?
If the error message you’re receiving is “Some failed”, you might want to know which images failed, and why.
To see which pages failed, go to “Settings > Save to > Metadata”, and check “Create a text file listing missing/failed pages”. Next time you attempt to run the download, a text file will be created in the output directory called “failed.txt”, which contains a list of the pages that failed. It can be helpful to include this file with your bug report.