Loading src/worker/mpio_read.cpp +5 −1 Original line number Original line Diff line number Diff line Loading @@ -144,8 +144,12 @@ mpio_read::operator()() const { } catch(const posix_file::io_error& e) { } catch(const posix_file::io_error& e) { LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); return make_system_error(e.error_code()); return make_system_error(e.error_code()); } catch (const std::system_error& e) { LOGGER_ERROR("Unexpected system error: {}", e.what()); return make_system_error(e.code().value()); } catch(const std::exception& e) { } catch(const std::exception& e) { std::cerr << e.what() << '\n'; LOGGER_ERROR("Unexpected exception: {}", e.what()); return error_code::other; } } return error_code::success; return error_code::success; Loading src/worker/mpio_write.cpp +5 −1 Original line number Original line Diff line number Diff line Loading @@ -146,8 +146,12 @@ mpio_write::operator()() const { } catch(const posix_file::io_error& e) { } catch(const posix_file::io_error& e) { LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); return make_system_error(e.error_code()); return make_system_error(e.error_code()); } catch (const std::system_error& e) { LOGGER_ERROR("Unexpected system error: {}", e.what()); return make_system_error(e.code().value()); } catch(const std::exception& e) { } catch(const std::exception& e) { std::cerr << e.what() << '\n'; LOGGER_ERROR("Unexpected exception: {}", e.what()); return error_code::other; } } return error_code::success; return error_code::success; Loading Loading
src/worker/mpio_read.cpp +5 −1 Original line number Original line Diff line number Diff line Loading @@ -144,8 +144,12 @@ mpio_read::operator()() const { } catch(const posix_file::io_error& e) { } catch(const posix_file::io_error& e) { LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); return make_system_error(e.error_code()); return make_system_error(e.error_code()); } catch (const std::system_error& e) { LOGGER_ERROR("Unexpected system error: {}", e.what()); return make_system_error(e.code().value()); } catch(const std::exception& e) { } catch(const std::exception& e) { std::cerr << e.what() << '\n'; LOGGER_ERROR("Unexpected exception: {}", e.what()); return error_code::other; } } return error_code::success; return error_code::success; Loading
src/worker/mpio_write.cpp +5 −1 Original line number Original line Diff line number Diff line Loading @@ -146,8 +146,12 @@ mpio_write::operator()() const { } catch(const posix_file::io_error& e) { } catch(const posix_file::io_error& e) { LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); LOGGER_ERROR("{}() failed: {}", e.where(), e.what()); return make_system_error(e.error_code()); return make_system_error(e.error_code()); } catch (const std::system_error& e) { LOGGER_ERROR("Unexpected system error: {}", e.what()); return make_system_error(e.code().value()); } catch(const std::exception& e) { } catch(const std::exception& e) { std::cerr << e.what() << '\n'; LOGGER_ERROR("Unexpected exception: {}", e.what()); return error_code::other; } } return error_code::success; return error_code::success; Loading