diff options
| author | Jokler <jokler.contact@gmail.com> | 2018-02-13 21:37:58 +0100 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2018-02-13 21:42:26 +0100 |
| commit | 32e59aa3cc6567b909ab995a4e69beb12bdf0322 (patch) | |
| tree | ef8fdd610c3062debf8e6cae6bc084cc139c12be /src/plugins/factoids/database.rs | |
| parent | 2c6351d2c8dea5b782b2e6b52b8847426722a60a (diff) | |
| download | frippy-32e59aa3cc6567b909ab995a4e69beb12bdf0322.tar.gz frippy-32e59aa3cc6567b909ab995a4e69beb12bdf0322.zip | |
Add download function & fromurl command
Diffstat (limited to 'src/plugins/factoids/database.rs')
| -rw-r--r-- | src/plugins/factoids/database.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/factoids/database.rs b/src/plugins/factoids/database.rs index cb6f422..b612d6f 100644 --- a/src/plugins/factoids/database.rs +++ b/src/plugins/factoids/database.rs @@ -106,7 +106,7 @@ impl Database for MysqlConnection { .execute(self) { Ok(_) => DbResponse::Success, Err(e) => { - error!("DB Insertion Error: {:?}", e); + error!("DB Insertion Error: \"{}\"", e); DbResponse::Failed("Failed to add factoid") } } @@ -131,7 +131,7 @@ impl Database for MysqlConnection { } } Err(e) => { - error!("DB Deletion Error: {:?}", e); + error!("DB Deletion Error: \"{}\"", e); DbResponse::Failed("Failed to delete factoid") } } |
