Some minor cleanups, added verbose to the travis build script

canary
WolverinDEV 2020-08-09 19:03:10 +02:00
parent 3218682c92
commit 61d8145996
3 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ stages:
jobs:
include:
- stage: compile
script: "./scripts/travis/build.sh --enable-release --enable-debug || travis_terminate 1;"
script: "./scripts/travis/build.sh --enable-release --enable-debug --verbose || travis_terminate 1;"
deploy:
- provider: script

View File

@ -1719,7 +1719,6 @@ export namespace modal_settings {
const update_level_meter = () => {
destroy_meters();
return; /* FIXME: Remove! */
for(const device of arecorder.devices()) {
let promise = arecorder.create_levelmeter(device).then(meter => {
meter.set_observer(level => {

View File

@ -347,6 +347,8 @@ global_client_actions.on("action_w2g", event => {
}
currentVideoViewer.open().catch(error => {
let errorMessage = typeof error === "string" ? error : tr("Lookup the console for details");
createErrorModal(tr("Failed to open video viewer."), tra("Failed to open the video viewer: {}", errorMessage)).open();
logError(LogCategory.GENERAL, tr("Failed to open video viewer: %o"), error);
currentVideoViewer.destroy();
currentVideoViewer = undefined;