1 parent 0e6e327 commit 84eb0deCopy full SHA for 84eb0de
1 file changed
src/util.cpp
@@ -407,7 +407,20 @@ std::string exception_str(std::exception const& e) {
407
}
408
409
std::string exception_str(std::exception_ptr const& e) {
410
+#if defined(__linux__) && defined(__arm__)
411
+ try {
412
+ if (e) {
413
+ std::rethrow_exception(e);
414
+ }
415
+ } catch (std::exception const& ex) {
416
+ return folly::exceptionStr(ex).toStdString();
417
+ } catch (...) {
418
+ return "unknown exception";
419
420
+ return "no exception";
421
+#else
422
return folly::exceptionStr(e).toStdString();
423
+#endif
424
425
426
unsigned int hardware_concurrency() noexcept {
0 commit comments