mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[IMP] playground: log error in console
This commit is contained in:
@@ -200,6 +200,8 @@ class App extends owl.Component {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
//probably problem with the templates
|
//probably problem with the templates
|
||||||
error = e;
|
error = e;
|
||||||
|
// we still log the error, always useful to have it available
|
||||||
|
console.error(e);
|
||||||
}
|
}
|
||||||
if (error) {
|
if (error) {
|
||||||
this.displayError(error.message);
|
this.displayError(error.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user