factor-connector-api 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,13 @@ module Factor::Connector
44
44
  end
45
45
  end
46
46
 
47
- raise "No match found for #{expected_hash}. Last line was #{@logs.last}" unless found
47
+ last_log = if @logs.last[:type]=='log' && @logs.last[:status]=='debug'
48
+ @logs.select {|log| log[:type] == 'log' && log[:status]=='debug'}.first
49
+ else
50
+ @logs.last
51
+ end
52
+
53
+ raise "No match found for #{expected_hash}. Last line was #{last_log}" unless found
48
54
  match if found
49
55
  end
50
56
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factor-connector-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: