@mundogamernetwork/shared-ui 1.13.1 → 1.13.2
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.
|
@@ -72,8 +72,12 @@ onMounted(async () => {
|
|
|
72
72
|
try {
|
|
73
73
|
const response = await fetchGamificationSummary();
|
|
74
74
|
summary.value = response?.data?.data ?? response?.data ?? null;
|
|
75
|
-
} catch {
|
|
76
|
-
// Never let a gamification hiccup break the header it sits in
|
|
75
|
+
} catch (error) {
|
|
76
|
+
// Never let a gamification hiccup break the header it sits in — but say
|
|
77
|
+
// so. Swallowing this silently made a deployed bar that renders nothing
|
|
78
|
+
// indistinguishable from a bar that was never deployed, and cost hours
|
|
79
|
+
// of bundle forensics to tell apart.
|
|
80
|
+
console.warn("[MgXpLevelBar] gamification dashboard unavailable", error);
|
|
77
81
|
summary.value = null;
|
|
78
82
|
} finally {
|
|
79
83
|
loaded.value = true;
|