fs_rom: remove "ROM file is missing" messages

These messages pollute the boot log of Sculpt OS when ROM modules are
requested for files of the config fs before the sculpt manager has
created their first version.
This commit is contained in:
Norman Feske 2021-04-09 15:41:34 +02:00
parent c9d904df71
commit 7ae1210531

View File

@ -304,11 +304,11 @@ class Fs_rom::Rom_session_component : public Rpc_object<Rom_session>
catch (Watch_failed) { } catch (Watch_failed) { }
try { return _read_dataspace(update_only); } try { return _read_dataspace(update_only); }
catch (Lookup_failed) { log(_file_path, " ROM file is missing"); } catch (Lookup_failed) { /* missing but may appear anytime soon */ }
catch (Invalid_handle) { error(_file_path, ": invalid handle"); } catch (Invalid_handle) { warning(_file_path, ": invalid handle"); }
catch (Invalid_name) { error(_file_path, ": invalid name"); } catch (Invalid_name) { warning(_file_path, ": invalid name"); }
catch (Permission_denied) { error(_file_path, ": permission denied"); } catch (Permission_denied) { warning(_file_path, ": permission denied"); }
catch (...) { error(_file_path, ": unhandled error"); }; catch (...) { warning(_file_path, ": unhandled error"); };
return false; return false;
} }