aboutsummaryrefslogtreecommitdiff
path: root/migrations/csrfToken
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/csrfToken')
-rw-r--r--migrations/csrfToken/main.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/migrations/csrfToken/main.go b/migrations/csrfToken/main.go
index f2326df..38ffbac 100644
--- a/migrations/csrfToken/main.go
+++ b/migrations/csrfToken/main.go
@@ -67,15 +67,18 @@ func main() {
for _, id := range sessionIds {
s, err := sessionRepo.Get(id)
if err != nil {
- log.Fatal(err)
+ log.Println(id, err)
+ continue
}
s.CSRFToken, err = util.NewCSRFToken()
if err != nil {
- log.Fatal(err)
+ log.Println(id, err)
+ continue
}
err = sessionRepo.Add(s)
if err != nil {
- log.Fatal(err)
+ log.Println(id, err)
+ continue
}
}