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

Fix user_sync/repositories to not explode on GH errors#405

Open
svenfuchs wants to merge 1 commit into
masterfrom
sf-sync-user-exception
Open

Fix user_sync/repositories to not explode on GH errors#405
svenfuchs wants to merge 1 commit into
masterfrom
sf-sync-user-exception

Conversation

@svenfuchs

Copy link
Copy Markdown
Contributor

@svenfuchs svenfuchs changed the title fix user_sync/repositories to not explode on GH errors Fix user_sync/repositories to not explode on GH errors Oct 30, 2014

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resources.flat_map { |resource| Array(fetch_resource(resource)) }

😉

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much nicer, thanks :)

@rkh

rkh commented Oct 30, 2014

Copy link
Copy Markdown
Contributor

lgtm

@svenfuchs svenfuchs force-pushed the sf-sync-user-exception branch from f32c916 to 055c377 Compare October 30, 2014 15:52
@svenfuchs

Copy link
Copy Markdown
Contributor Author

Works on staging (as in: user sync still works, not sure how to provoke the error)

@BanzaiMan

Copy link
Copy Markdown
Contributor

Let's roll this out next week! :-D

@joshk

joshk commented Mar 18, 2015

Copy link
Copy Markdown
Contributor

Is this still something we should merge in?

@svenfuchs

Copy link
Copy Markdown
Contributor Author

I guess? :D

@joshk

joshk commented Mar 18, 2015

Copy link
Copy Markdown
Contributor

I'll look into this tomorrow :)

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.

4 participants