Quellcode durchsuchen

Merge branch 'sean-testing' of https://github.com/porter-dev/porter into beta.3.integration-frontend

jusrhee vor 5 Jahren
Ursprung
Commit
6a92b29cbb
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      dashboard/src/main/home/sidebar/ClusterSection.tsx

+ 1 - 1
dashboard/src/main/home/sidebar/ClusterSection.tsx

@@ -60,7 +60,7 @@ export default class ClusterSection extends Component<PropsType, StateType> {
               setCurrentCluster((localStorage.getItem('currentCluster')) ? 
                 JSON.parse(localStorage.getItem('currentCluster')) : clusters[0]
               );
-            } catch {
+            } catch(err) {
               setCurrentCluster(clusters[0]);
             }
           } else if (this.props.currentView !== 'provisioner') {