Skip to content
Snippets Groups Projects
Commit 1462710a authored by Mohamed AZIKIOU's avatar Mohamed AZIKIOU
Browse files

fix: catch errors in recorder

parent 6be5dd8e
Branches
Tags
No related merge requests found
Pipeline #15596 failed
......@@ -47,7 +47,13 @@ export async function activate(context: ExtensionContext) {
error('Cannot init userConfig');
}
if (isDocker()) {
try {
Recorder.instance.run();
} catch (e) {
error('Could not run recorder');
error(JSON.stringify(e));
window.showErrorMessage("Le recorder n'a pas pu être lancé");
}
runTimer(userConfig.getCurrentUserId(), userConfig.getMissionId(), context);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment