fix(JitsiMeetLogStorage): do not log whole message
The logMessage can be very long. Probably only it's length could be important to why sendApplicationLog has failed. Stringify the error though.
This commit is contained in:
parent
8fe5814831
commit
3b6e34e96b
|
@ -81,10 +81,10 @@ export default class JitsiMeetLogStorage {
|
|||
try {
|
||||
conference.sendApplicationLog(logMessage);
|
||||
} catch (error) {
|
||||
// FIXME whole objects logged
|
||||
// NOTE console is intentional here
|
||||
console.error(
|
||||
'Failed to store the logs: ', logMessage, error);
|
||||
`Failed to store the logs, msg length: ${logMessage.length}`
|
||||
+ `error: ${JSON.stringify(error)}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue