fractaledmind / solid_errors

database-backed, app-internal exception tracker for Rails applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release new version because of mailer added?

dorianmariecom opened this issue · comments

Hi,

It would be great if there was a new version with the mailer added.

Thanks,
Dorian

Also seems like there is a new column (fingerprint):

Error subscriber raised an error: PG::UndefinedColumn: ERROR:  column solid_errors.fingerprint does not exist

added:

t.string :fingerprint, null: false, limit: 64, index: { unique: true }

removed:

t.index %i[exception_class message severity source], unique: true, name: 'solid_error_uniqueness_index'

Fields are text not string also:

   create_table "solid_errors", force: :cascade do |t|
-    t.string "exception_class", limit: 200, null: false
-    t.string "message", null: false
-    t.string "severity", limit: 25, null: false
-    t.string "source"
+    t.text "exception_class", null: false
+    t.text "message", null: false
+    t.text "severity", null: false
+    t.text "source"
     t.datetime "resolved_at"
+    t.string "fingerprint", limit: 64, null: false
     t.datetime "created_at", null: false
     t.datetime "updated_at", null: false
-    t.index ["exception_class", "message", "severity", "source"], name: "solid_error_uniqueness_index", unique: true
+    t.index ["fingerprint"], name: "index_solid_errors_on_fingerprint", unique: true
     t.index ["resolved_at"], name: "index_solid_errors_on_resolved_at"
   end

Yes, I have been working on upgrade docs before releasing the new version. Nearly done.

I also want to back port the fix for reporting errors in production

@dorianmariecom Version 0.4.0 is released. It doesn't back port the Rails fix for reporting errors, but hopefully I can finish that soon. There is an upgrade guide for migration production data from 0.3.5 to 0.4.0: https://github.com/fractaledmind/solid_errors/blob/main/UPGRADE.md