aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 4481439..c1353aa 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1671,6 +1671,8 @@ Serve.prototype.gitObjectLinks = function (headMsgId, type) {
headMsgId: headMsgId,
type: type,
}, function (err, msg) {
+ if (err && err.name === 'BlobNotFoundError')
+ return cb(null, self.askWantBlobsForm(err.links))
if (err && err.name === 'ObjectNotFoundError')
return cb(null, [
ph('code', u.escapeHTML(id.substr(0, 8))), '(missing)'])