strapi-plugin-oidc 1.8.2 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/index.js +2 -1
- package/dist/server/index.mjs +2 -1
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -115,9 +115,10 @@ async function applyDiscovery(strapi2) {
|
|
|
115
115
|
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
|
116
116
|
doc = await res.json();
|
|
117
117
|
} catch (e) {
|
|
118
|
-
|
|
118
|
+
strapi2.log.error(
|
|
119
119
|
errorMessages.DISCOVERY_FETCH_ERROR(discoveryUrl, e instanceof Error ? e.message : String(e))
|
|
120
120
|
);
|
|
121
|
+
return;
|
|
121
122
|
}
|
|
122
123
|
const updates = {};
|
|
123
124
|
for (const [docField, configKey] of FIELD_MAP) {
|
package/dist/server/index.mjs
CHANGED
|
@@ -109,9 +109,10 @@ async function applyDiscovery(strapi2) {
|
|
|
109
109
|
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
|
110
110
|
doc = await res.json();
|
|
111
111
|
} catch (e) {
|
|
112
|
-
|
|
112
|
+
strapi2.log.error(
|
|
113
113
|
errorMessages.DISCOVERY_FETCH_ERROR(discoveryUrl, e instanceof Error ? e.message : String(e))
|
|
114
114
|
);
|
|
115
|
+
return;
|
|
115
116
|
}
|
|
116
117
|
const updates = {};
|
|
117
118
|
for (const [docField, configKey] of FIELD_MAP) {
|
package/package.json
CHANGED