bitex_bot 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c382b3feddff67a9f4ca657e116b7ca3fd76996
4
- data.tar.gz: b4f5434255f59401351071cb9ee9004ad91850ed
3
+ metadata.gz: 98d52a8ce88ec8cfa25ad7781d8c989ac3311fd2
4
+ data.tar.gz: 3c15cc5fcb36a12a78585aa61e2ba2c86e73134d
5
5
  SHA512:
6
- metadata.gz: 3c3e790254335d663db15ee0c5660aee94079037487648c8f88bf3999d04eb9432acbbb23cbf5c663b150a15e5537afa80217ddf89602524ce89b7a75ff4087d
7
- data.tar.gz: b57c33b494e276d76bda8be401c59645619083f88db4c219312ab58c9f519f74177cab4a3316096388de62d91a0e1c74b2a9856c4a7baba77524b1e1267b598d
6
+ metadata.gz: 59c028daeb22fae99f9c2a87bf473a78d5cacf09ba1b3c3d3973560ac6cc4bc08c533ad00dfbb1ae3eb182a1798605a1a799258e57fa9dccaa602ec82174145b
7
+ data.tar.gz: 37138d26080cd50d03700733002c9318be47a8c433cdc71e42d7c9c0a4adca0fab55d4e1a5d3b96a01d287f198a99872b7902c7daa63b892dd23455a3da006fa
@@ -86,9 +86,12 @@ module BitexBot
86
86
  rescue CannotCreateFlow => e
87
87
  self.notify("#{e.message}:\n\n#{e.backtrace.join("\n")}")
88
88
  sleep (60 * 3) unless self.class.test_mode
89
+ rescue Curl::Err::TimeoutError => e
90
+ self.class.logger.error("#{e.class} - #{e.message}:\n\n#{e.backtrace.join("\n")}")
91
+ sleep 15 unless self.class.test_mode
89
92
  rescue StandardError => e
90
- self.notify("#{e.message}:\n\n#{e.backtrace.join("\n")}")
91
- sleep 60 unless self.class.test_mode
93
+ self.notify("#{e.class} - #{e.message}:\n\n#{e.backtrace.join("\n")}")
94
+ sleep 120 unless self.class.test_mode
92
95
  end
93
96
 
94
97
  def finalise_some_opening_flows
@@ -1,3 +1,3 @@
1
1
  module BitexBot
2
- VERSION = "0.3"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitex_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nubis