aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/DatabaseController.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/DatabaseController.kt')
-rw-r--r--src/main/kotlin/DatabaseController.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/DatabaseController.kt b/src/main/kotlin/DatabaseController.kt
index c26ba36..305c405 100644
--- a/src/main/kotlin/DatabaseController.kt
+++ b/src/main/kotlin/DatabaseController.kt
@@ -217,7 +217,7 @@ class DatabaseController(dbFileLocation: String = "main.db") {
it[userId] = usersId
it[accessId] = generateRandomString(64)
}
- } catch (_: org.jetbrains.exposed.exceptions.ExposedSQLException) {
+ } catch (err: org.jetbrains.exposed.exceptions.ExposedSQLException) {
log.warning("File already exists!")
}
}