Adding a try/catch for debugging purpose.

This commit is contained in:
John Livingston 2021-05-18 18:48:19 +02:00
parent bc81008ffb
commit afb27bacc6

View File

@ -180,5 +180,9 @@ window.initConverse = async function initConverse ({
params.modtools_disable_assign = true
}
window.converse.initialize(params)
try {
window.converse.initialize(params)
} catch (error) {
console.error('Failed initializing converseJS', error)
}
}