the-markup / blacklight-collector

GNU General Public License v3.0
195 stars 36 forks source link

Handle errors in the collect function with a try-catch block. #66

Closed bachdumpling closed 1 year ago

bachdumpling commented 1 year ago

This PR potentially fix the issue of tmp file not properly cleared after a failed scan, leading to: ENOSPC: no space left on device, mkdir '/tmp/tmp-8-bsc9NMF2bYaq'

Here's a brief summary of the changes: