diff --git a/asab/library/providers/git.py b/asab/library/providers/git.py index 5e8d2a75b..415395874 100644 --- a/asab/library/providers/git.py +++ b/asab/library/providers/git.py @@ -89,8 +89,11 @@ async def _periodic_pull(self, event_name): # Once reset of the head is finished, PubSub message about the change in the subscribed directory gets published. for path in to_publish: self.App.PubSub.publish("Library.change!", self, path) - except pygit2.GitError: - L.warning("Periodic pull from the remote repository failed.") + except pygit2.GitError as err: + L.warning( + "Periodic pull from the remote repository failed: {}".format(err), + struct_data={"url": self.URLPath} + ) finally: self.PullLock = False