mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-15 10:38:14 +02:00
updated restore backup log error from debug to warn
This commit is contained in:
1 parent
d5d764f83e
commit
011f323bcc
1 file changed
+1
-1
+1
-1
@@ -219,7 +219,7 @@ func (app *BaseApp) RestoreBackup(ctx context.Context, name string) error {
|
|||||||
_ = tempZip.Close()
|
_ = tempZip.Close()
|
||||||
err = os.Remove(tempZip.Name())
|
err = os.Remove(tempZip.Name())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e.App.Logger().Debug(
|
e.App.Logger().Warn(
|
||||||
"[RestoreBackup] Failed to remove the temp zip backup file",
|
"[RestoreBackup] Failed to remove the temp zip backup file",
|
||||||
slog.String("file", tempZip.Name()),
|
slog.String("file", tempZip.Name()),
|
||||||
slog.String("error", err.Error()),
|
slog.String("error", err.Error()),
|
||||||
|
|||||||
Reference in new issue
Block a user