Skip to content

Commit f24764e

Browse files
committed
added new in front of TypeError subclass
1 parent 769bacc commit f24764e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ export class GitExtension implements IGitExtension, IDisposable {
492492
}
493493
return response.json();
494494
} catch (err) {
495-
throw ServerConnection.NetworkError;
495+
throw new ServerConnection.NetworkError(err);
496496
}
497497
}
498498

0 commit comments

Comments
 (0)