feat(src/db.rs): handle JSON encoding errors without panic
modified src/db.rs
@@ -248,7 +248,7 @@ impl Db {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -558,6 +558,10 @@ pub enum DbError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -639,6 +643,10 @@ impl DbError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|