fix issues
This commit is contained in:
@@ -106,9 +106,12 @@ export class EnhancedErrorReporter implements ErrorReporter {
|
||||
const severity = error.getSeverity();
|
||||
|
||||
const message = isDev ? error.getDeveloperMessage() : error.getUserMessage();
|
||||
const contextObj = typeof context === 'object' && context !== null ? context : {};
|
||||
const errorContextObj = typeof error.context === 'object' && error.context !== null ? error.context : {};
|
||||
|
||||
const logContext = {
|
||||
...error.context,
|
||||
...context,
|
||||
...errorContextObj,
|
||||
...contextObj,
|
||||
type: error.type,
|
||||
isRetryable: error.isRetryable(),
|
||||
isConnectivity: error.isConnectivityIssue(),
|
||||
|
||||
Reference in New Issue
Block a user