Skip to content

Commit

Permalink
Recorder: Define and use our own errordomain instead of Gst's
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed Mar 20, 2024
1 parent e986d48 commit a26d88d
Show file tree
Hide file tree
Showing 2 changed files with 303 additions and 293 deletions.
4 changes: 2 additions & 2 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ public class MainWindow : Gtk.ApplicationWindow {
private void show_record () {
try {
recorder.start_recording ();
} catch (Gst.ParseError e) {
} catch (Model.RecorderError err) {
show_error_dialog (
_("Failed to start recording"),
_("There was an error while starting recording."),
e.message
err.message
);
return;
}
Expand Down
Loading

0 comments on commit a26d88d

Please sign in to comment.