Skip to content

Instantly share code, notes, and snippets.

@lewang
Created September 8, 2016 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewang/698faf7be5488f09300a5c410aaa5867 to your computer and use it in GitHub Desktop.
Save lewang/698faf7be5488f09300a5c410aaa5867 to your computer and use it in GitHub Desktop.
diff --git a/src/circle/vcs/user.clj b/src/circle/vcs/user.clj
index 32c2863..481f86c 100644
--- a/src/circle/vcs/user.clj
+++ b/src/circle/vcs/user.clj
@@ -236,10 +236,12 @@
(refresh-stale-user full-user)
(catch Exception e
(swap! errors inc)
- (warnf "error updating %s: %s (not updated in %s day(s))"
+ (warnf "error updating %s: %s (Github not updated in %s day(s)) (Bitbucket not updated in %s day(s))"
(:login full-user)
(.getMessage e)
(some-> (util-time/maybe-interval (user/github-updated-at full-user) start-time)
+ (time/in-days))
+ (some-> (util-time/maybe-interval (user/bitbucket-updated-at full-user) start-time)
(time/in-days)))))
(set-refresh-last-evaluated (:_id full-user)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment