Commit a49e0ab8 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

retro: Simplify error catching in try_load_game()

This makes the code simpler and will avoid retro-gtk to expose this
error type.
parent d97878ea
......@@ -312,11 +312,8 @@ public class Games.RetroRunner : Object, Runner {
return true;
}
}
catch (GLib.FileError e) {
stderr.printf ("Error: %s\n", e.message);
}
catch (Retro.CbError e) {
stderr.printf ("Error: %s\n", e.message);
catch (Error e) {
debug (e.message);
}
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment