File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,14 @@ jobs:
4545 node_modules
4646 */*/node_modules
4747 key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
48- - run : yarn install
4948 - uses : actions/download-artifact@v2
5049 with :
5150 name : build
5251 path : ${{ github.workspace }}/packages
5352 - uses : andresz1/size-limit-action@v1.4.0
5453 with :
5554 github_token : ${{ secrets.GITHUB_TOKEN }}
56- build_script : echo "doing nothing"
57- skip_step : install
55+ skip_step : build
5856
5957 job_lint :
6058 name : Lint
Original file line number Diff line number Diff line change @@ -407,6 +407,11 @@ export function errorHandler(options?: {
407407
408408 if ( shouldHandleError ( error ) ) {
409409 withScope ( _scope => {
410+ // For some reason we need to set the transaction on the scope again
411+ const transaction = ( res as any ) . __sentry_transaction as Span ;
412+ if ( transaction && _scope . getSpan ( ) === undefined ) {
413+ _scope . setSpan ( transaction ) ;
414+ }
410415 const eventId = captureException ( error ) ;
411416 ( res as any ) . sentry = eventId ;
412417 next ( error ) ;
You can’t perform that action at this time.
0 commit comments