Compare commits

..

No commits in common. "764bbcf05bba2519d835d393942c1414fa2bb439" and "6ef2d471e9dac992381041d0a2cd9a253ac87e57" have entirely different histories.

View file

@ -109,17 +109,10 @@ export function promiseDialog<T extends Promise<any>>(
if (onFailure) { if (onFailure) {
onFailure(err); onFailure(err);
} else { } else {
if (err.message) { alert({
alert({ type: 'error',
type: 'error', text: err,
text: err.message, });
});
} else {
alert({
type: 'error',
text: err,
});
}
} }
}); });