I've been staring at errors so long, I forgot how confusing they can be. This PR reverses the stack, so you get the cause first, which should be more specific than the final error.
Before:
After:
This PR also detects module not found errors and tries to download them during bud generate. This should hopefully eliminate some errors around the runtime not being present.
I quite like this solution because it only attempts to download them upon error, so it doesn't slow down the common path.
I've been staring at errors so long, I forgot how confusing they can be. This PR reverses the stack, so you get the cause first, which should be more specific than the final error.
Before:
After:
This PR also detects
module not found
errors and tries to download them duringbud generate
. This should hopefully eliminate some errors around the runtime not being present.I quite like this solution because it only attempts to download them upon error, so it doesn't slow down the common path.