File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,22 +140,13 @@ export class RepositoryManager implements vscode.Disposable {
140140 this . _expectCoverage = hasCoverageOverview
141141 this . _enabledBranches = enabledBranches
142142
143- this . _disposables . push ( this . _current . state . onDidChange ( this . handleStateChange . bind ( this ) ) )
143+ this . _disposables . push ( this . _current . state . onDidChange ( this . handleStateChange . bind ( this ) ) )
144144
145145 this . state = RepositoryManagerState . Loaded
146146
147147 this . _onDidLoadRepository . fire ( this . _repository )
148148
149- await this . handleBranchChange ( )
150- } catch ( apiError ) {
151- if ( apiError instanceof OpenAPIError && apiError . status === 404 ) {
152- Logger . appendLine ( `Repository not found with name: ${ repo . repository } .` )
153- handleError ( apiError as Error )
154- this . state = RepositoryManagerState . NoRepository
155- } else {
156- throw apiError
157- }
158- }
149+ await this . handleBranchChange ( )
159150 }
160151 } catch ( e ) {
161152 if ( e instanceof OpenAPIError && ! Config . apiToken ) {
You can’t perform that action at this time.
0 commit comments