Improve error handling during group sends
This commit is contained in:
parent
f0a3735ca2
commit
991580a1ed
58 changed files with 299 additions and 324 deletions
|
@ -14,6 +14,7 @@ import {
|
|||
getImageDimensions,
|
||||
defaultBlurHash,
|
||||
} from '../../types/Attachment';
|
||||
import * as Errors from '../../types/errors';
|
||||
import * as log from '../../logging/log';
|
||||
|
||||
const MAX_GIF_REPEAT = 4;
|
||||
|
@ -90,7 +91,7 @@ export function GIF(props: Props): JSX.Element {
|
|||
video.play().catch(error => {
|
||||
log.info(
|
||||
"Failed to match GIF playback to window's state",
|
||||
(error && error.stack) || error
|
||||
Errors.toLogFormat(error)
|
||||
);
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue