Created
September 8, 2016 19:42
-
-
Save lewang/698faf7be5488f09300a5c410aaa5867 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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