Mongoid::Persistable#atomically shouldn't rescue Exception

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 9.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should avoid rescuing Exception; favoring StandardError instead (guidance based on https://thoughtbot.com/blog/rescue-standarderror-not-exception)

      see https://github.com/mongodb/mongoid/pull/5606

            Assignee:
            Jamis Buck
            Reporter:
            Alex Bevilacqua
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: