Browse Source

Reconnect in case of error

tags/v0.1.2
aeris 1 year ago
parent
commit
35b7477bac
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bin/feed-twitter

+ 1
- 1
bin/feed-twitter View File

@@ -1,3 +1,3 @@
1 1
 #!/usr/bin/env ruby
2 2
 require 'cross-post'
3
-CrossPost.feed
3
+loop { CrossPost.feed rescue nil }

Loading…
Cancel
Save