Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Repository files navigation

Augment Error plugin for Aspect CLI

This is a plugin for the Aspect CLI.

It matches on error messages from Bazel, and adds extra information that can help your engineers such as go-links to your internal documentation, tell them that a migration is underway with additional instructions, or whatever you can think of.

Users configure it in an error_mappings property in the .aspect/cli/config.yaml file in their repository.

Demo

With a configuration like:

plugins:
  - name: augment-error
    properties:
      error_mappings:
        demo: this message helps our devs understand failures with the string "demo"

This plugin will print the message when the error contains "demo", like the following:

Plugin Demo Screencast

About

Listen for Bazel aborted events, and print a hint to the user

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages