feat: add rate limits to import/export
This commit is contained in:
parent
45941e47d6
commit
fc4f106afb
3 changed files with 32 additions and 2 deletions
|
@ -108,7 +108,7 @@ export default {
|
|||
caseHandlingMode: this.importCaseMode,
|
||||
});
|
||||
} catch (err) {
|
||||
this.importError = String(err);
|
||||
this.importError = err.body?.error ?? String(err);
|
||||
return;
|
||||
} finally {
|
||||
this.importing = false;
|
||||
|
@ -134,7 +134,7 @@ export default {
|
|||
guildId: this.$route.params.guildId,
|
||||
});
|
||||
} catch (err) {
|
||||
this.exportError = String(err);
|
||||
this.exportError = err.body?.error ?? String(err);
|
||||
return;
|
||||
} finally {
|
||||
this.exporting = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue