about summary refs log tree commit diff
path: root/server
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2021-02-02 17:55:38 +0100
committerMelonai <einebeere@gmail.com>2021-02-02 17:55:38 +0100
commitf560480d30a7b3446799d4f0b3d9bb732a2f0983 (patch)
tree67c9d4f6fe6610c6d94ca3c930e4a15f37386b00 /server
parent72da387a292ac0e1934e72bbcc30042c82007bd0 (diff)
downloadshorest-f560480d30a7b3446799d4f0b3d9bb732a2f0983.tar.zst
shorest-f560480d30a7b3446799d4f0b3d9bb732a2f0983.zip
Log hash creation
Diffstat (limited to 'server')
-rw-r--r--server/src/database.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/database.rs b/server/src/database.rs
index 62225c0..c7fd905 100644
--- a/server/src/database.rs
+++ b/server/src/database.rs
@@ -68,6 +68,8 @@ pub fn add_link_to_database_safely(
         }
         None => {
             // No link with the same hash exists, put it in the database
+            info!("Shortened '{}' with hash '{}'.", user_url, hash);
+
             add_link_to_database(
                 ShortenedLink {
                     hash: hash.clone(),