mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
refactor(*): remove unused exception variables (#193)
This commit is contained in:
parent
38ab38645b
commit
a4a7eb41b0
29 changed files with 35 additions and 35 deletions
|
@ -52,7 +52,7 @@ export async function postCaseToCaseLogChannel(
|
|||
try {
|
||||
await pluginData.client.editMessage(channelId, messageId, caseEmbed);
|
||||
return null;
|
||||
} catch (e) {} // tslint:disable-line:no-empty
|
||||
} catch {} // tslint:disable-line:no-empty
|
||||
}
|
||||
|
||||
try {
|
||||
|
@ -63,7 +63,7 @@ export async function postCaseToCaseLogChannel(
|
|||
});
|
||||
}
|
||||
return postedMessage;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
pluginData.state.logs.log(LogType.BOT_ALERT, {
|
||||
body: `Failed to post case #${theCase.case_number} to the case log channel`,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue