Util: Catch OOM in timer

This commit is contained in:
zzz
2023-12-22 08:16:46 -05:00
parent d156c090b5
commit f925d9db0a

View File

@ -432,6 +432,9 @@ public class SimpleTimer2 {
} catch (RuntimeException re) {
_log.error("timer error", re);
throw re;
} catch (OutOfMemoryError oome) {
_log.error("timer error", oome);
throw new RuntimeException("timer error", oome);
}
}