Kaynağa Gözat

debug: Add console log to error catching for re run

jnfrati 4 yıl önce
ebeveyn
işleme
0a00f25aeb

+ 2 - 0
dashboard/src/main/home/cluster-dashboard/expanded-chart/BuildSettingsTab.tsx

@@ -140,6 +140,7 @@ const BuildSettingsTab: React.FC<Props> = ({ chart }) => {
         }
       );
     } catch (error) {
+      console.log(error);
       if (!error?.response) {
         throw error;
       }
@@ -198,6 +199,7 @@ const BuildSettingsTab: React.FC<Props> = ({ chart }) => {
         setCurrentError(description);
         return;
       }
+      throw error;
     }
   };