Show import-config error message

This commit is contained in:
Joseph Ferano 2023-04-21 18:51:42 +07:00
parent b9390c18ab
commit d040970e97

View File

@ -18,6 +18,6 @@ export default async function handler(
}
}
} catch (error) {
res.status(500).json(error);
res.status(500).json(error.message);
}
}