Skip to content

Commit

Permalink
fix(regression): fetch promise rejections not handled
Browse files Browse the repository at this point in the history
Signed-off-by: Sami Mazouz <[email protected]>
  • Loading branch information
SychO9 committed May 7, 2023
1 parent 4247e54 commit 3accdc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/core/views/install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
button.textContent = 'Install Flarum';
});
}
})
.catch(error => {
console.error('Error:', error);
});
return false;
Expand Down
3 changes: 3 additions & 0 deletions framework/core/views/install/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
button.textContent = 'Update Flarum';
});
}
})
.catch(error => {
console.error('Error:', error);
});
return false;
Expand Down

0 comments on commit 3accdc3

Please sign in to comment.