diff --git a/openauto/Projection/RtAudioOutput.cpp b/openauto/Projection/RtAudioOutput.cpp index 68ae27e14..cb91c0281 100644 --- a/openauto/Projection/RtAudioOutput.cpp +++ b/openauto/Projection/RtAudioOutput.cpp @@ -55,9 +55,9 @@ bool RtAudioOutput::open() dac_->openStream(¶meters, nullptr, RTAUDIO_SINT16, sampleRate_, &bufferFrames, &RtAudioOutput::audioBufferReadHandler, static_cast(this), &streamOptions); return audioBuffer_.open(QIODevice::ReadWrite); } - catch(const RtAudioError& e) + catch(...) { - OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to open audio output, what: " << e.what(); + OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to open audio output, what: " << "err"; } } else @@ -83,9 +83,9 @@ void RtAudioOutput::start() { dac_->startStream(); } - catch(const RtAudioError& e) + catch(...) { - OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to start audio output, what: " << e.what(); + OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to start audio output, what: " << "error"; } } } @@ -130,9 +130,9 @@ void RtAudioOutput::doSuspend() { dac_->stopStream(); } - catch(const RtAudioError& e) + catch(...) { - OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to suspend audio output, what: " << e.what(); + OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to suspend audio output, what: " << "error"; } } }