Commit 0b76cfa0 authored by anton's avatar anton
Browse files

Pass on ENOENT errors from metadata service

parent 50efa6fc
......@@ -41,7 +41,7 @@ const metadata = {
}
}
catch (err) {
console.error('metadta', err)
if (err.message === 'ENOENT') throw new Error(err.message)
if (!err.response || err.response.status > 404) console.error(err.message)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment