Explorar o código

fix: google sheets error not showing

Ahmad Kholid %!s(int64=3) %!d(string=hai) anos
pai
achega
7967127f16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/newtab/workflow/edit/EditGoogleSheets.vue

+ 1 - 1
src/components/newtab/workflow/edit/EditGoogleSheets.vue

@@ -248,7 +248,7 @@ async function previewData() {
     if (!response.ok) {
       const error = await response.json();
 
-      throw new Error(error.statusMessage || response.statusText);
+      throw new Error(error.message || response.statusText);
     }
 
     let result = await response.json();