Skip to content

Commit

Permalink
rethrow error of transform phase (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonBall authored Sep 20, 2020
1 parent 21610bc commit 636443d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snowpack/src/build/build-pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ async function runPipelineTransformStep(
} catch (err) {
// Attach metadata detailing where the error occurred.
err.__snowpackBuildDetails = {name: step.name, step: 'transform'};
throw err;
}
}

Expand Down

1 comment on commit 636443d

@vercel
Copy link

@vercel vercel bot commented on 636443d Sep 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.