better status

main
Brett 2025-03-12 18:14:10 -04:00
parent afab2f8043
commit e8b6210034
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake)
set(BLT_VERSION 5.2.18)
set(BLT_VERSION 5.2.19)
set(BLT_TARGET BLT)

View File

@ -158,7 +158,7 @@ namespace blt::logging
void status_progress_bar_t::set_progress(const double progress)
{
if (std::isnan(progress) || progress < 0 || progress > 1 || std::isinf(progress))
throw std::invalid_argument("progress must be between 0 and 1");
throw std::invalid_argument("Progress must be between 0 and 1 (got: " + std::to_string(progress) + ")");
m_progress = progress;
// m_status->redraw();
}