fluent-plugin-detect-exceptions 0.0.9 → 0.0.10

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: d402ceea885857f31e25514fc7a2bb8f6c2b5812
4
- data.tar.gz: d8ae558f146d14da37975b09120a7491fab6b5ec
3
+ metadata.gz: 22408c782d12b0ae5b6c632e67b4d2145272e137
4
+ data.tar.gz: e2ab10c60dd80aab406de9b12135d6abcc1ff45e
5
5
  SHA512:
6
- metadata.gz: 1cb014aaf5fdf9b2877a5783ca65fa53501222c5d7c5fa0598843720506fa23bc24bce723019814236a83cc641c5079aa945c1905c4cd73a390d4c2c742bfb33
7
- data.tar.gz: 8838068a9f8037ee72db6b286c4c77c178dadb729aab3b4c4bb80e880195a41831e12f7b38bc9ef7ab6d34b40dcc312800360503cbfee88fe4d36c627b7f08ef
6
+ metadata.gz: 01ed3e8e3e473ed25e2c6f9c4979bcb57453524c5bf559a337ab9acea679e8224acd07c239daf9313cee067061a67106a1953f7dc5cb2f3d8345e10996923201
7
+ data.tar.gz: e1ba01791f3ba5c10d8b402efd1e678724cacdb68868ebf644f57e0f19b0cacd18dc27f869e707039d4a82f05d6894b3d78f6a377a6bf9578aae02552b48dcb3
@@ -1,31 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-detect-exceptions (0.0.9)
4
+ fluent-plugin-detect-exceptions (0.0.10)
5
5
  fluentd (>= 0.10)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- ast (2.3.0)
10
+ ast (2.4.0)
11
11
  cool.io (1.5.3)
12
12
  dig_rb (1.0.1)
13
13
  flexmock (2.3.6)
14
- fluentd (1.0.2)
14
+ fluentd (1.1.0)
15
15
  cool.io (>= 1.4.5, < 2.0.0)
16
16
  dig_rb (~> 1.0.0)
17
17
  http_parser.rb (>= 0.5.1, < 0.7.0)
18
18
  msgpack (>= 0.7.0, < 2.0.0)
19
19
  serverengine (>= 2.0.4, < 3.0.0)
20
20
  sigdump (~> 0.2.2)
21
- strptime (~> 0.1)
21
+ strptime (>= 0.2.2, < 1.0.0)
22
22
  tzinfo (~> 1.0)
23
23
  tzinfo-data (~> 1.0)
24
24
  yajl-ruby (~> 1.0)
25
25
  http_parser.rb (0.6.0)
26
- msgpack (1.2.2)
27
- parser (2.4.0.2)
28
- ast (~> 2.3)
26
+ msgpack (1.2.4)
27
+ parser (2.5.0.3)
28
+ ast (~> 2.4.0)
29
29
  power_assert (1.1.1)
30
30
  powerpack (0.1.1)
31
31
  rainbow (2.2.2)
@@ -45,9 +45,9 @@ GEM
45
45
  test-unit (3.2.7)
46
46
  power_assert
47
47
  thread_safe (0.3.6)
48
- tzinfo (1.2.4)
48
+ tzinfo (1.2.5)
49
49
  thread_safe (~> 0.1)
50
- tzinfo-data (1.2017.3)
50
+ tzinfo-data (1.2018.3)
51
51
  tzinfo (>= 1.0.0)
52
52
  unicode-display_width (1.3.0)
53
53
  yajl-ruby (1.3.1)
@@ -11,7 +11,7 @@ eos
11
11
  gem.homepage = \
12
12
  'https://github.com/GoogleCloudPlatform/fluent-plugin-detect-exceptions'
13
13
  gem.license = 'Apache-2.0'
14
- gem.version = '0.0.9'
14
+ gem.version = '0.0.10'
15
15
  gem.authors = ['Thomas Schickinger', 'Igor Peshansky']
16
16
  gem.email = ['schickin@google.com', 'igorp@google.com']
17
17
  gem.required_ruby_version = Gem::Requirement.new('>= 2.0')
@@ -93,8 +93,45 @@ module Fluent
93
93
  rule(:ruby, /^[\t ]+.*?\.rb:\d+:in `/, :ruby)
94
94
  ].freeze
95
95
 
96
+ DART_RULES = [
97
+ rule(:start_state, /^Unhandled exception:$/, :dart_exc),
98
+ rule(:dart_exc, /^Instance of/, :dart_stack),
99
+ rule(:dart_exc, /^Exception/, :dart_stack),
100
+ rule(:dart_exc, /^Bad state/, :dart_stack),
101
+ rule(:dart_exc, /^IntegerDivisionByZeroException/, :dart_stack),
102
+ rule(:dart_exc, /^Invalid argument/, :dart_stack),
103
+ rule(:dart_exc, /^RangeError/, :dart_stack),
104
+ rule(:dart_exc, /^Assertion failed/, :dart_stack),
105
+ rule(:dart_exc, /^Cannot instantiate/, :dart_stack),
106
+ rule(:dart_exc, /^Reading static variable/, :dart_stack),
107
+ rule(:dart_exc, /^UnimplementedError/, :dart_stack),
108
+ rule(:dart_exc, /^Unsupported operation/, :dart_stack),
109
+ rule(:dart_exc, /^Concurrent modification/, :dart_stack),
110
+ rule(:dart_exc, /^Out of Memory/, :dart_stack),
111
+ rule(:dart_exc, /^Stack Overflow/, :dart_stack),
112
+ rule(:dart_exc, /^'.+?':.+?$/, :dart_type_err_1),
113
+ rule(:dart_type_err_1, /^#\d+\s+.+?\(.+?\)$/, :dart_stack),
114
+ rule(:dart_type_err_1, /^.+?$/, :dart_type_err_2),
115
+ rule(:dart_type_err_2, /^.*?\^.*?$/, :dart_type_err_3),
116
+ rule(:dart_type_err_3, /^$/, :dart_type_err_4),
117
+ rule(:dart_type_err_4, /^$/, :dart_stack),
118
+ rule(:dart_exc, /^FormatException/, :dart_format_err_1),
119
+ rule(:dart_format_err_1, /^#\d+\s+.+?\(.+?\)$/, :dart_stack),
120
+ rule(:dart_format_err_1, /^./, :dart_format_err_2),
121
+ rule(:dart_format_err_2, /^.*?\^/, :dart_format_err_3),
122
+ rule(:dart_format_err_3, /^$/, :dart_stack),
123
+ rule(:dart_exc, /^NoSuchMethodError:/, :dart_method_err_1),
124
+ rule(:dart_method_err_1, /^Receiver:/, :dart_method_err_2),
125
+ rule(:dart_method_err_2, /^Tried calling:/, :dart_method_err_3),
126
+ rule(:dart_method_err_3, /^Found:/, :dart_stack),
127
+ rule(:dart_method_err_3, /^#\d+\s+.+?\(.+?\)$/, :dart_stack),
128
+ rule(:dart_stack, /^#\d+\s+.+?\(.+?\)$/, :dart_stack),
129
+ rule(:dart_stack, /^<asynchronous suspension>$/, :dart_stack)
130
+ ].freeze
131
+
96
132
  ALL_RULES = (
97
- JAVA_RULES + PYTHON_RULES + PHP_RULES + GO_RULES + RUBY_RULES).freeze
133
+ JAVA_RULES + PYTHON_RULES + PHP_RULES + GO_RULES + RUBY_RULES + DART_RULES
134
+ ).freeze
98
135
 
99
136
  RULES_BY_LANG = {
100
137
  java: JAVA_RULES,
@@ -107,6 +144,7 @@ module Fluent
107
144
  go: GO_RULES,
108
145
  rb: RUBY_RULES,
109
146
  ruby: RUBY_RULES,
147
+ dart: DART_RULES,
110
148
  all: ALL_RULES
111
149
  }.freeze
112
150
 
@@ -270,6 +270,222 @@ END
270
270
  puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
271
271
  END
272
272
 
273
+ DART_ERR = <<END.freeze
274
+ Unhandled exception:
275
+ Instance of 'MyError'
276
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:15:20)
277
+ #1 printError (file:///path/to/code/dartFile.dart:37:13)
278
+ #2 main (file:///path/to/code/dartFile.dart:15:3)
279
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
280
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
281
+ END
282
+
283
+ DART_EXC = <<END.freeze
284
+ Unhandled exception:
285
+ Exception: exception message
286
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:17:20)
287
+ #1 printError (file:///path/to/code/dartFile.dart:37:13)
288
+ #2 main (file:///path/to/code/dartFile.dart:17:3)
289
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
290
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
291
+ END
292
+
293
+ DART_ASYNC_ERR = <<END.freeze
294
+ Unhandled exception:
295
+ Bad state: oops
296
+ #0 handleFailure (file:///test/example/http/handling_an_httprequest_error.dart:16:3)
297
+ #1 main (file:///test/example/http/handling_an_httprequest_error.dart:24:5)
298
+ <asynchronous suspension>
299
+ #2 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
300
+ #3 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
301
+ END
302
+
303
+ DART_DIVIDE_BY_ZERO_ERR = <<END.freeze
304
+ Unhandled exception:
305
+ IntegerDivisionByZeroException
306
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:27:20)
307
+ #1 printError (file:///path/to/code/dartFile.dart:42:13)
308
+ #2 main (file:///path/to/code/dartFile.dart:27:3)
309
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
310
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
311
+ END
312
+
313
+ DART_ARGUMENT_ERR = <<END.freeze
314
+ Unhandled exception:
315
+ Invalid argument(s): invalid argument
316
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:23:20)
317
+ #1 printError (file:///path/to/code/dartFile.dart:42:13)
318
+ #2 main (file:///path/to/code/dartFile.dart:23:3)
319
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
320
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
321
+ END
322
+
323
+ DART_RANGE_ERR = <<END.freeze
324
+ Unhandled exception:
325
+ RangeError (index): Invalid value: Valid value range is empty: 1
326
+ #0 List.[] (dart:core-patch/growable_array.dart:151)
327
+ #1 main.<anonymous closure> (file:///path/to/code/dartFile.dart:31:23)
328
+ #2 printError (file:///path/to/code/dartFile.dart:42:13)
329
+ #3 main (file:///path/to/code/dartFile.dart:29:3)
330
+ #4 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
331
+ #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
332
+ END
333
+
334
+ DART_ASSERTION_ERR = <<END.freeze
335
+ Unhandled exception:
336
+ Assertion failed
337
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:9:20)
338
+ #1 printError (file:///path/to/code/dartFile.dart:36:13)
339
+ #2 main (file:///path/to/code/dartFile.dart:9:3)
340
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
341
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
342
+ END
343
+
344
+ DART_ABSTRACT_CLASS_ERR = <<END.freeze
345
+ Unhandled exception:
346
+ Cannot instantiate abstract class LNClassName: _url 'null' line null
347
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:12:20)
348
+ #1 printError (file:///path/to/code/dartFile.dart:36:13)
349
+ #2 main (file:///path/to/code/dartFile.dart:12:3)
350
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
351
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
352
+ END
353
+
354
+ DART_READ_STATIC_ERR = <<END.freeze
355
+ Unhandled exception:
356
+ Reading static variable 'variable' during its initialization
357
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:28:20)
358
+ #1 printError (file:///path/to/code/dartFile.dart:43:13)
359
+ #2 main (file:///path/to/code/dartFile.dart:28:3)
360
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
361
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
362
+ END
363
+
364
+ DART_UNIMPLEMENTED_ERROR = <<END.freeze
365
+ Unhandled exception:
366
+ UnimplementedError: unimplemented
367
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:38:20)
368
+ #1 printError (file:///path/to/code/dartFile.dart:61:13)
369
+ #2 main (file:///path/to/code/dartFile.dart:38:3)
370
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
371
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
372
+ END
373
+
374
+ DART_UNSUPPORTED_ERR = <<END.freeze
375
+ Unhandled exception:
376
+ Unsupported operation: unsupported
377
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:36:20)
378
+ #1 printError (file:///path/to/code/dartFile.dart:61:13)
379
+ #2 main (file:///path/to/code/dartFile.dart:36:3)
380
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
381
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
382
+ END
383
+
384
+ DART_CONCURRENT_MODIFICATION_ERR = <<END.freeze
385
+ Unhandled exception:
386
+ Concurrent modification during iteration.
387
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:35:20)
388
+ #1 printError (file:///path/to/code/dartFile.dart:61:13)
389
+ #2 main (file:///path/to/code/dartFile.dart:35:3)
390
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
391
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
392
+ END
393
+
394
+ DART_OOM_ERR = <<END.freeze
395
+ Unhandled exception:
396
+ Out of Memory
397
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:34:20)
398
+ #1 printError (file:///path/to/code/dartFile.dart:61:13)
399
+ #2 main (file:///path/to/code/dartFile.dart:34:3)
400
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
401
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
402
+ END
403
+
404
+ DART_STACK_OVERFLOW_ERR = <<END.freeze
405
+ Unhandled exception:
406
+ Stack Overflow
407
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:33:20)
408
+ #1 printError (file:///path/to/code/dartFile.dart:61:13)
409
+ #2 main (file:///path/to/code/dartFile.dart:33:3)
410
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
411
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
412
+ END
413
+
414
+ DART_FALLTHROUGH_ERR = <<END.freeze
415
+ Unhandled exception:
416
+ 'null': Switch case fall-through at line null.
417
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:39:20)
418
+ #1 printError (file:///path/to/code/dartFile.dart:51:13)
419
+ #2 main (file:///path/to/code/dartFile.dart:39:3)
420
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
421
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
422
+ END
423
+
424
+ DART_TYPE_ERR = <<END.freeze
425
+ Unhandled exception:
426
+ 'file:///path/to/code/dartFile.dart': malformed type: line 7 pos 24: cannot resolve class 'NoType' from '::'
427
+ printError( () { new NoType(); } );
428
+ ^
429
+
430
+
431
+ #0 _TypeError._throwNew (dart:core-patch/errors_patch.dart:82)
432
+ #1 main.<anonymous closure> (file:///path/to/code/dartFile.dart:7:24)
433
+ #2 printError (file:///path/to/code/dartFile.dart:36:13)
434
+ #3 main (file:///path/to/code/dartFile.dart:7:3)
435
+ #4 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
436
+ #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
437
+ END
438
+
439
+ DART_FORMAT_ERR = <<END.freeze
440
+ Unhandled exception:
441
+ FormatException: format exception
442
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:25:20)
443
+ #1 printError (file:///path/to/code/dartFile.dart:42:13)
444
+ #2 main (file:///path/to/code/dartFile.dart:25:3)
445
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
446
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
447
+ END
448
+
449
+ DART_FORMAT_WITH_CODE_ERR = <<END.freeze
450
+ Unhandled exception:
451
+ FormatException: Invalid base64 data (at line 3, character 8)
452
+ this is not valid
453
+ ^
454
+
455
+ #0 main.<anonymous closure> (file:///path/to/code/dartFile.dart:24:20)
456
+ #1 printError (file:///path/to/code/dartFile.dart:42:13)
457
+ #2 main (file:///path/to/code/dartFile.dart:24:3)
458
+ #3 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
459
+ #4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
460
+ END
461
+
462
+ DART_NO_METHOD_ERR = <<END.freeze
463
+ Unhandled exception:
464
+ NoSuchMethodError: No constructor 'TypeError' with matching arguments declared in class 'TypeError'.
465
+ Receiver: Type: class 'TypeError'
466
+ Tried calling: new TypeError("Invalid base64 data", "invalid", 36)
467
+ Found: new TypeError()
468
+ #0 NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:196)
469
+ #1 main.<anonymous closure> (file:///path/to/code/dartFile.dart:8:39)
470
+ #2 printError (file:///path/to/code/dartFile.dart:36:13)
471
+ #3 main (file:///path/to/code/dartFile.dart:8:3)
472
+ #4 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
473
+ #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
474
+ END
475
+
476
+ DART_NO_METHOD_GLOBAL_ERR = <<END.freeze
477
+ Unhandled exception:
478
+ NoSuchMethodError: No top-level method 'noMethod' declared.
479
+ Receiver: top-level
480
+ Tried calling: noMethod()
481
+ #0 NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:196)
482
+ #1 main.<anonymous closure> (file:///path/to/code/dartFile.dart:10:20)
483
+ #2 printError (file:///path/to/code/dartFile.dart:36:13)
484
+ #3 main (file:///path/to/code/dartFile.dart:10:3)
485
+ #4 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
486
+ #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
487
+ END
488
+
273
489
  ARBITRARY_TEXT = <<END.freeze
274
490
  This arbitrary text.
275
491
  It sounds tympanic: a word which means like a drum.
@@ -347,6 +563,29 @@ END
347
563
  check_exception(RAILS_EXC, false)
348
564
  end
349
565
 
566
+ def test_dart
567
+ check_exception(DART_ERR, false)
568
+ check_exception(DART_EXC, false)
569
+ check_exception(DART_ASYNC_ERR, false)
570
+ check_exception(DART_DIVIDE_BY_ZERO_ERR, false)
571
+ check_exception(DART_ARGUMENT_ERR, false)
572
+ check_exception(DART_RANGE_ERR, false)
573
+ check_exception(DART_READ_STATIC_ERR, false)
574
+ check_exception(DART_UNIMPLEMENTED_ERROR, false)
575
+ check_exception(DART_UNSUPPORTED_ERR, false)
576
+ check_exception(DART_CONCURRENT_MODIFICATION_ERR, false)
577
+ check_exception(DART_OOM_ERR, false)
578
+ check_exception(DART_STACK_OVERFLOW_ERR, false)
579
+ check_exception(DART_FALLTHROUGH_ERR, false)
580
+ check_exception(DART_TYPE_ERR, false)
581
+ check_exception(DART_FORMAT_ERR, false)
582
+ check_exception(DART_FORMAT_WITH_CODE_ERR, false)
583
+ check_exception(DART_NO_METHOD_ERR, false)
584
+ check_exception(DART_NO_METHOD_GLOBAL_ERR, false)
585
+ check_exception(DART_ASSERTION_ERR, false)
586
+ check_exception(DART_ABSTRACT_CLASS_ERR, false)
587
+ end
588
+
350
589
  def test_mixed_languages
351
590
  check_exception(JAVA_EXC, false)
352
591
  check_exception(PYTHON_EXC, true)
@@ -361,6 +600,26 @@ END
361
600
  check_exception(CSHARP_EXC, false)
362
601
  check_exception(V8_JS_EXC, false)
363
602
  check_exception(RUBY_EXC, false)
603
+ check_exception(DART_ERR, false)
604
+ check_exception(DART_EXC, false)
605
+ check_exception(DART_ASYNC_ERR, false)
606
+ check_exception(DART_DIVIDE_BY_ZERO_ERR, false)
607
+ check_exception(DART_ARGUMENT_ERR, false)
608
+ check_exception(DART_RANGE_ERR, false)
609
+ check_exception(DART_READ_STATIC_ERR, false)
610
+ check_exception(DART_UNIMPLEMENTED_ERROR, false)
611
+ check_exception(DART_UNSUPPORTED_ERR, false)
612
+ check_exception(DART_CONCURRENT_MODIFICATION_ERR, false)
613
+ check_exception(DART_OOM_ERR, false)
614
+ check_exception(DART_STACK_OVERFLOW_ERR, false)
615
+ check_exception(DART_FALLTHROUGH_ERR, false)
616
+ check_exception(DART_TYPE_ERR, false)
617
+ check_exception(DART_FORMAT_ERR, false)
618
+ check_exception(DART_FORMAT_WITH_CODE_ERR, false)
619
+ check_exception(DART_NO_METHOD_ERR, false)
620
+ check_exception(DART_NO_METHOD_GLOBAL_ERR, false)
621
+ check_exception(DART_ASSERTION_ERR, false)
622
+ check_exception(DART_ABSTRACT_CLASS_ERR, false)
364
623
  end
365
624
 
366
625
  def test_reset
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-detect-exceptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Schickinger
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-01-19 00:00:00.000000000 Z
12
+ date: 2018-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.4.8
129
+ rubygems_version: 2.6.14
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: fluentd output plugin for combining stack traces as multi-line JSON logs