Repository navigation
Commit ac534f3
chore(ruby): Remove unused Configuration error tracking (#3164)
* chore(ruby): Remove unused Configuration#error_messages
Its last caller was removed in #1601 when the transport stopped checking
sending_allowed?. The method is @api private and nothing in the monorepo
calls it.
* chore(ruby): Remove unused Configuration#errors tracking
With error_messages gone, nothing reads @errors outside of specs. Drop the
private errors reader and the helpers that only existed to populate it,
which also stops sending_to_dsn_allowed? from mutating state on every call.
Co-Authored-By: Neel Shah <6536764+sl0thentr0py@users.noreply.github.com>
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Neel Shah <6536764+sl0thentr0py@users.noreply.github.com>1 parent b0671d3 commit ac534f3
2 files changed
Lines changed: 2 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
767 | | - | |
768 | | - | |
769 | | - | |
| 767 | + | |
770 | 768 | | |
771 | 769 | | |
772 | 770 | | |
| |||
856 | 854 | | |
857 | 855 | | |
858 | 856 | | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | 857 | | |
866 | 858 | | |
867 | 859 | | |
| |||
908 | 900 | | |
909 | 901 | | |
910 | 902 | | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | 903 | | |
928 | 904 | | |
929 | 905 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
480 | 479 | | |
481 | 480 | | |
482 | 481 | | |
483 | 482 | | |
484 | 483 | | |
485 | | - | |
486 | 484 | | |
487 | 485 | | |
488 | 486 | | |
| |||
551 | 549 | | |
552 | 550 | | |
553 | 551 | | |
554 | | - | |
555 | 552 | | |
556 | 553 | | |
557 | 554 | | |
| |||
0 commit comments