message: Catch compiler errors, log them, and send down the error to the browser
diff: @@ -266,7 +266,15 @@ export class Compiler {
  usedFields: [],
  };
  - let code = transformCardComponent(templateSource, options);
  + let code: string;
  + try {
  + code = transformCardComponent(templateSource, options);
  + } catch (error: any) {
  + let errorMessage = `Failed to compile \`${localFile}\` in \`${cardURL}\``;
  + console.error(`----------------------\n${errorMessage}\n----------------------`);
  + console.error(error);
  + code = `throw new Error('${errorMessage}. Check your hub process')`;
  + }
  let moduleName = await this.builder.define(cardURL, hashFilenameFromFields(localFile, fields), JS_TYPE, code);
  