aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/DatabaseController.kt
diff options
context:
space:
mode:
authorMarvin Borner2019-04-15 19:59:37 +0200
committerMarvin Borner2019-04-15 19:59:37 +0200
commit1ee7bb209d0f3a66b00d34edc57661e31a846e49 (patch)
treec627c8ec0ddf63c6e0cbd5804d8711983e9f8120 /src/main/kotlin/DatabaseController.kt
parent85654224957a5d6c68e3060d706137cfd02d8a06 (diff)
Added file preview css reset via iframe
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!")
}
}