mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Improve error handling during group sends
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
import * as log from '../logging/log';
|
||||
import { deleteAllLogs } from '../util/deleteAllLogs';
|
||||
import * as Errors from '../types/errors';
|
||||
|
||||
export async function deleteAllData(): Promise<void> {
|
||||
try {
|
||||
@@ -28,7 +29,7 @@ export async function deleteAllData(): Promise<void> {
|
||||
} catch (error) {
|
||||
log.error(
|
||||
'Something went wrong deleting all data:',
|
||||
error && error.stack ? error.stack : error
|
||||
Errors.toLogFormat(error)
|
||||
);
|
||||
}
|
||||
window.restart();
|
||||
|
||||
Reference in New Issue
Block a user