Add explicit return values in store catch blocks to prevent undefined crashes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -234,6 +234,7 @@ export const useAllMapDataStore = defineStore("allMapDataStore", {
|
||||
return;
|
||||
}
|
||||
apiError(error, "Failed to load the Trace Detail.");
|
||||
return [];
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -278,6 +279,7 @@ export const useAllMapDataStore = defineStore("allMapDataStore", {
|
||||
return;
|
||||
}
|
||||
apiError(error, "Failed to load the Base Trace Detail.");
|
||||
return [];
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user