Custom Behavior Halts on ctx.log

When running a Custom Behavior JS file via app.browsertrix.com, it seems to halt on the first call to ctx.log. The sample code below will show “Welcome to Camelot!” but not “Tis a silly place.” in the log. I’m injecting it via Use Custom Behaviors in the settings for my Crawl Workflow by pointing it to my GitHub repo.

class Camelot {
  static id = "Camelot Test";

  static isMatch() {
    return true;
  }

  static init() {
    return { state: {} };
  }

  async *run(ctx) {
    ctx.log("Welcome to Camelot!");
    ctx.log("Tis a silly place.");
  }
}

As an aside, my end goal is to capture and rewrite the href’s of several anchor tags on the site prior to link extraction. I recently learned that at one point behaviors ran after link extraction. Is that still the case? If so, should I be going about this a different way?