Skip to content

Commit e7530a3

Browse files
authored
feat(core): Emit debug log when transport execution fails (#16009)
#15993 is incredibly annoying to debug because we don't log the actual error
1 parent 6c40f4b commit e7530a3

File tree

1 file changed

+1
-0
lines changed
  • packages/core/src/transports

1 file changed

+1
-0
lines changed

packages/core/src/transports/base.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export function createTransport(
7777
},
7878
error => {
7979
recordEnvelopeLoss('network_error');
80+
DEBUG_BUILD && logger.error('Encountered error running transport request:', error);
8081
throw error;
8182
},
8283
);

0 commit comments

Comments
 (0)