File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,12 +249,12 @@ export class BreadcrumbManager {
249249 * void/undefined/null — warn and keep original breadcrumb
250250 */
251251 if ( result === undefined || result === null ) {
252- log ( '[Hawk] beforeBreadcrumb returned nothing, storing original breadcrumb.' , 'warn' ) ;
252+ log ( 'beforeBreadcrumb returned nothing, storing original breadcrumb.' , 'warn' ) ;
253253 } else if ( isValidBreadcrumb ( result ) ) {
254254 Object . assign ( bc , result ) ;
255255 } else {
256256 log (
257- '[Hawk] beforeBreadcrumb produced invalid breadcrumb (must be an object with numeric timestamp), storing original. '
257+ 'beforeBreadcrumb produced invalid breadcrumb (must be an object with numeric timestamp), storing original. '
258258 + `Received: ${ Object . prototype . toString . call ( result ) } ` ,
259259 'warn'
260260 ) ;
Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ export default class Catcher {
451451 * If user returned nothing (void/undefined/null) — warn and keep original payload
452452 */
453453 if ( result === undefined || result === null ) {
454- log ( `[Hawk] Invalid beforeSend value: (${ String ( result ) } ). It should return event or false. Event is sent without changes.` , 'warn' ) ;
454+ log ( `Invalid beforeSend value: (${ String ( result ) } ). It should return event or false. Event is sent without changes.` , 'warn' ) ;
455455 } else if ( isValidEventPayload ( result ) ) {
456456 payload = result ;
457457 } else {
@@ -468,7 +468,7 @@ export default class Catcher {
468468 }
469469
470470 log (
471- '[Hawk] beforeSend produced invalid payload (missing required fields), sending original. '
471+ 'beforeSend produced invalid payload (missing required fields), sending original. '
472472 + `Received: ${ received } ` ,
473473 'warn'
474474 ) ;
You can’t perform that action at this time.
0 commit comments