We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c141bd8 commit fbcc140Copy full SHA for fbcc140
packages/core/src/utils/breadcrumbsUtils.ts
@@ -5,7 +5,7 @@ import type { Breadcrumb } from '@sentry/types';
5
* @param breadcrumb
6
*/
7
export function assignBreadcrumbLogLevel(breadcrumb: Breadcrumb): Breadcrumb {
8
- const statusCode = breadcrumb?.data?.status_code;
+ const statusCode = breadcrumb.data?.status_code;
9
if (typeof statusCode !== 'number') {
10
return breadcrumb;
11
}
0 commit comments