changelog fix

This commit is contained in:
Jan Prochazka
2025-05-03 19:03:06 +02:00
parent 2e3b770bea
commit 16990bd0c3
2 changed files with 9 additions and 4 deletions

View File

@@ -298,8 +298,12 @@ module.exports = {
changelog_meta: true,
async changelog() {
const resp = await axios.default.get('https://raw.githubusercontent.com/dbgate/dbgate/master/CHANGELOG.md');
return resp.data;
try {
const resp = await axios.default.get('https://raw.githubusercontent.com/dbgate/dbgate/master/CHANGELOG.md');
return resp.data;
} catch (err) {
return ''
}
},
checkLicense_meta: true,