Log db error
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
parent
bac5839dd0
commit
09ca7d887c
|
@ -202,8 +202,9 @@
|
|||
(encrypted-realm-version file-name new-key)
|
||||
(log/info "try to encrypt with password success")
|
||||
(on-success))
|
||||
(catch :default _
|
||||
(catch :default e
|
||||
(do
|
||||
(log/warn "failed checking db encryption with" e)
|
||||
(log/info "try to encrypt with old key")
|
||||
(encrypted-realm-version file-name old-key)
|
||||
(log/info "try to encrypt with old key success")
|
||||
|
|
Loading…
Reference in New Issue