Skip to content

Fix error handling in PrestissimoFileFetcher #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2018

Conversation

webflo
Copy link
Member

@webflo webflo commented Jul 4, 2018

Fixes #73


I looked at the prestissimo code again, a this is the proper fix for this.

@FlorentTorregrosa
Copy link
Contributor

Error got catched.

root@26130eede5ce:/project# composer drupal:scaffold                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
  [Exception]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
  Failed to download https://fake.com/pantheon-systems/drops-8/8.5.4/sites/example.sites.php, https://fake.com/pantheon-systems/drops-8/8.5.4/sites/default/default.settings.php, https://fake.com/pantheon-systems/drops-8/8.5.4/sites/default/default.services.yml, https://fake.com/pantheon-systems/drops-8/8.5.4/robots.txt, https://fake.com/pantheon-systems/drops-8/8.5.4/index.php, https://fake.com/pantheon-systems/drops-8/8.5.4/.htaccess, https://fake.com/pantheon-systems/drops-8/8.5.4/.gitattributes, https://fake.com/pantheon-systems/drops-8/8.5.4/.eslintrc.json, https://fake.com/pantheon-systems/drops-8/8.5.4/.eslintignore, https://fake.com/pantheon-systems/drops-8/8.5.4/.editorconfig  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
drupal:scaffold

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

Successfully merging this pull request may close these issues.

No error when scaffold source doesn't exist and prestissimo installed globally
2 participants