Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.

Conversation

@mdole
Copy link
Contributor

@mdole mdole commented Feb 22, 2019

The update-sailthru script was halting on an error— @l2succes and I paired on finding the error, resolving, and making some other changes. Tweaks made:

  • Consolidated down to single call to Metaphysics
  • Stopped script from halting on error (prints and continues on)

The error seems to be a result of URLs that have special characters in them, such as https://www.artsy.net/collection/salvador-dalí-venus

In case someone else needs to find and resolve errors with this script in the future, this command runs the script in debugging mode:
yarn nodemon --inspect-brk -r ts-node/register scripts/pushCollectionsToSailthru.ts
You might also need to change your METAPHYSICS_URL and MONGOHQ_URL env vars depending on where you plan to query.

@peril-staging
Copy link
Contributor

peril-staging bot commented Feb 22, 2019

Warnings
⚠️ It looks like code was changed without adding anything to the Changelog.
You can add #trivial in the PR body to skip the check.

Generated by 🚫 dangerJS against 028b822

@mdole
Copy link
Contributor Author

mdole commented Feb 22, 2019

hmm working on that test

@l2succes
Copy link
Contributor

@mdole are you still working on the test?

@mdole
Copy link
Contributor Author

mdole commented Feb 26, 2019 via email

@l2succes l2succes merged commit 625a012 into artsy:master Mar 1, 2019
@mdole mdole deleted the fixing-update-sailthru branch March 4, 2019 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants