carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Add a try/catch block to components/Carbon.js to handle the error if the codemirror custom-language package doesn't exist

Open skevprog opened this issue 3 years ago • 3 comments

  • Add a try/catch block to components/Carbon.js to handle the error if the codemirro language package doesn't exist or is corrupted (this check avoids an initial crash in development mode 'yarn run dev')
  • [ ] Integration tests (if applicable)

Closes #1438

skevprog avatar Feb 02 '23 12:02 skevprog

@skevprog is attempting to deploy a commit to the Carbon Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 02 '23 12:02 vercel[bot]

PR worked fine for me and resolved my issues when upgrading from a previous release.

pierow2k avatar Sep 27 '23 12:09 pierow2k

@mfix22 - This looks like a decent fix for a common issue faced by most people. Could you please take a look and approve/merge if all looks good?

agilityhawk avatar Dec 08 '23 16:12 agilityhawk