Skip to content
  • Alberto Bertogli's avatar
    queue: Check that we can create the queue directory · 7b0703ea
    Alberto Bertogli authored
    When creating a new Queue instance, we os.MkdirAll the queue directory.
    
    Currently we don't check if it fails, which will cause us to find out
    about problems when the queue is first used, where it is more annoying
    to troubleshoot.
    
    This patch adjusts the code so that we check and propagate the error.
    That way, problems with the queue directory will be more evident and
    easier to handle.
    7b0703ea