diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index ca2da6f..46f8d6d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -656,9 +656,11 @@ int main(int argc, char* argv[]) // qDebug() << "set new exposure time:" << value; // requested_params.exposureTime = value; - if (!camera->setExposureTimeUs(value)) + if (!camera->setExposureTimeUs(value)) { + qDebug() << "cannot set exp"; return QHttpServerResponse::StatusCode:: RequestRangeNotSatisfiable; + } } if (json.contains(gainKey)) |
