aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-07 16:17:03 -0700
committerChris Robinson <[email protected]>2021-04-07 16:17:03 -0700
commitf8299c60ecf8a227d81c57108c795ce4ea192559 (patch)
treec08b3b86a12eb45d37e6e9d1c0ce9ef7812fe81b /alc
parent44a6e1f85878cc3f1952c514160c3db96f64fc49 (diff)
Log the reset exception error
Diffstat (limited to 'alc')
-rw-r--r--alc/alc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 50828c35..a6a12811 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -1965,6 +1965,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList)
throw al::backend_exception{al::backend_error::DeviceError, "Device reset failure"};
}
catch(std::exception &e) {
+ ERR("Device error: %s\n", e.what());
device->handleDisconnect("%s", e.what());
return ALC_INVALID_DEVICE;
}