Show debug view if app errors while having some other view open
This commit is contained in:
@@ -911,6 +911,9 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
|
||||
$scope.app = app;
|
||||
|
||||
// Immediately move to debug view on error
|
||||
if (app.error && !($scope.view === 'debug' || $scope.view === 'uninstall')) $scope.setView('debug');
|
||||
|
||||
callback();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user