Skip to content

Commit ca3f112

Browse files
committed
Simplify update error message
1 parent 71c1850 commit ca3f112

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ui/preact/update_component.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,12 @@ export class UpdateComponent
330330
error = selectResult.error;
331331
}
332332
if (error) {
333-
const errorMessage = `Update failed: ${error}`;
334333
console.error(`update_component: update failed: ${error}`);
335334

336335
this.setState({
337336
...this.state,
338337
isUpdating: false,
339-
updateError: errorMessage,
338+
updateError: `${error}`,
340339
});
341340

342341
return;

0 commit comments

Comments
 (0)