Commit ba81825
committed
Stub logging and add stdout logging spec
Suppress the RSpec/AnyInstance cop to allow stubbing of described_class#log_internal_error in the middleware spec (TODO: remove later). Add a new example that asserts an unexpected JSON-RPC internal error is logged to stdout, ensuring the middleware both returns the correct error response and emits an internal error message.1 parent 476166c commit ba81825
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
393 | 398 | | |
394 | 399 | | |
395 | 400 | | |
| |||
407 | 412 | | |
408 | 413 | | |
409 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
410 | 425 | | |
411 | 426 | | |
412 | 427 | | |
| |||
0 commit comments