You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when using an invalid LaTeX with /tex, it just says that its invalid. But does not give any further reason. The reason is available with the exception in the code though and should be exposed to the user.
Simply change TeXCommand#onSlashCommand to:
} catch (ParseExceptione) {
event.reply("That is an invalid latex. Reason: " + e.getMessage())
.setEphemeral(true)
.queue();
return;
}
Activity
Fix #208, #206 (tex background color, tex error message UX)