Missed a pair of catch statements for formatting.

This commit is contained in:
Randall Fitzgerald 2023-06-09 04:50:31 -04:00
parent a9c34779f6
commit cc2b33649d

View file

@ -951,11 +951,9 @@ int main(int argc, char** argv)
char buf[BUFSIZ];
try {
std::rethrow_exception(std::move(ep));
}
catch (std::exception& e) {
} catch (std::exception& e) {
snprintf(buf, sizeof(buf), fmt, e.what());
}
catch (...) {
} catch (...) {
snprintf(buf, sizeof(buf), fmt, "Unknown Exception");
}
res.set_content(buf, "text/plain");