Files
Michael (mcm) fcb16a3b1b [IMP] *: remove guarded catch
This commit removes the promise extension which added the function
`guardedCatch`. It was used to filter server and connection errors from
javascript errors. Instead of using guardedCatch, we should use catch
and check if the reason is a server or connection error if needed and
re-throw the error if it's not handled.

closes odoo/odoo#137702

Task: 3439226
Related: odoo/enterprise#48451
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2023-10-25 15:50:34 +00:00

41 lines
1.3 KiB
Python

{
'name' : 'IM Bus',
'version': '1.0',
'category': 'Hidden',
'description': "Instant Messaging Bus allow you to send messages to users, in live.",
'depends': ['base', 'web'],
'data': [
'security/ir.model.access.csv',
],
'installable': True,
'auto_install': True,
'assets': {
'web.assets_backend': [
'bus/static/src/*.js',
'bus/static/src/services/**/*.js',
'bus/static/src/workers/websocket_worker.js',
'bus/static/src/workers/websocket_worker_utils.js',
],
'web.assets_frontend': [
'bus/static/src/*.js',
'bus/static/src/services/**/*.js',
('remove', 'bus/static/src/services/assets_watchdog_service.js'),
('remove', 'bus/static/src/simple_notification_service.js'),
'bus/static/src/workers/websocket_worker.js',
'bus/static/src/workers/websocket_worker_utils.js',
],
'web.tests_assets': [
'bus/static/tests/helpers/**/*',
],
'web.qunit_suite_tests': [
'bus/static/tests/**/*.js',
('remove', 'bus/static/tests/helpers/**/*'),
],
'bus.websocket_worker_assets': [
'web/static/src/module_loader.js',
'bus/static/src/workers/*',
],
},
'license': 'LGPL-3',
}