Use better: `fail("Could not create cookbooks", e)`, to let the 'fail' method properly report the exception.