diff --git a/src/writer/categorizer/fits_categorizer.cpp b/src/writer/categorizer/fits_categorizer.cpp index 9c0beed0..4e84843b 100644 --- a/src/writer/categorizer/fits_categorizer.cpp +++ b/src/writer/categorizer/fits_categorizer.cpp @@ -60,7 +60,7 @@ struct fmt::formatter : formatter { sv = "big"; break; default: - throw std::runtime_error("internal error: unhandled endianness value"); + DWARFS_PANIC("internal error: unhandled endianness value"); } return formatter::format(sv, ctx); }