From 702ccc868c7d5b845937d5a97ff2405ac57d122e Mon Sep 17 00:00:00 2001 From: angusmcleod Date: Tue, 12 Oct 2021 09:45:50 +0800 Subject: [PATCH] Update connection_error.rb --- lib/custom_wizard/notice/connection_error.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/custom_wizard/notice/connection_error.rb b/lib/custom_wizard/notice/connection_error.rb index 84620c0d..8b8b944a 100644 --- a/lib/custom_wizard/notice/connection_error.rb +++ b/lib/custom_wizard/notice/connection_error.rb @@ -25,7 +25,6 @@ class CustomWizard::Notice::ConnectionError end PluginStore.set(namespace, id, attrs) - @errors = nil end @@ -34,7 +33,7 @@ class CustomWizard::Notice::ConnectionError errors.each do |error_row| error = JSON.parse(error_row.value) error['expired_at'] = Time.now - error_row.value = error + error_row.value = error.to_json error_row.save end end