mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-15 22:48:00 +02:00
fix: improve error handling when a commit is not accessible
This commit is contained in:
@@ -1190,8 +1190,9 @@ angular
|
||||
}
|
||||
},
|
||||
(err) => {
|
||||
console.log(err);
|
||||
$scope.files = [];
|
||||
$scope.type = "error";
|
||||
$scope.content = err.data.error;
|
||||
$scope.files = null;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user