Handle Woo plugin connection timeouts without 500 errors.
Deploy Ladill Woo Manager / deploy (push) Successful in 1m4s
Deploy Ladill Woo Manager / deploy (push) Successful in 1m4s
Treat unreachable WordPress stores as unavailable during integrations refresh instead of throwing when the site times out. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -36,6 +36,8 @@ class IntegrationController extends Controller
|
||||
|
||||
return redirect()
|
||||
->route('woo.integrations.index')
|
||||
->with('status', 'Integration status refreshed.');
|
||||
->with('success', $store
|
||||
? 'Integration status refreshed.'
|
||||
: 'Connect a store to refresh integration status.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user